# Name the module java app buttons

**URL:** <https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395>\
**Category:** Feature Requests\
**Created:** [November 28, 2020, 5:01pm UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395 "2020-11-28T17:01:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![marktb1961](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/marktb1961/32/231_2.png) [@marktb1961](https://forum.vassalengine.org/u/marktb1961)\
**Post date:** [November 28, 2020, 5:01pm UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/1 "2020-11-28T17:01:59Z")

</div>

Not sure if this is a java or MacOS limitation but it would be nice if Vassal’s java application buttons could be named for their modules rather than left as the generic “java” name.

For clarity, I am talking about the buttons that the user can press to bring a minimised app back to the screen (on MacOS these buttons sit in the “Dock”, normally at the bottom of the screen). Mousing over the button brings up the app name.

The main Vassal app does name its own button, so perhaps the module buttons could also be named.

Here is the bit of the screen that I mean…

[attachment=0]mac dock example.jpg[/attachment]

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [November 28, 2020, 7:04pm UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/2 "2020-11-28T19:04:38Z")

</div>

Would you post an errorLog from a run where you’ve opened several modules at once? The module name is supposed to get to those icons via the -Xdock:name property when the Player is run.

---

<div class="post-metadata">

**Author:** ![marktb1961](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/marktb1961/32/231_2.png) [@marktb1961](https://forum.vassalengine.org/u/marktb1961)\
**Post date:** [November 28, 2020, 8:43pm UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/3 "2020-11-28T20:43:17Z")

</div>

Error log attached.

I had three different modules open, relating to C&C Napoleonics.

Mark

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [November 28, 2020, 11:08pm UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/4 "2020-11-28T23:08:05Z")

</div>

The command lines I see there are what I was expecting to see. What was the last version where this worked for you?

---

<div class="post-metadata">

**Author:** ![marktb1961](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/marktb1961/32/231_2.png) [@marktb1961](https://forum.vassalengine.org/u/marktb1961)\
**Post date:** [November 29, 2020, 12:18am UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/5 "2020-11-29T00:18:33Z")

</div>

Just checked against v3.2.17 and it is the same there. I was sure it would be as I didn’t recall seeing this working any other way since I started using Vassal - so that is from v3.2.17 on the various versions of MacOS since 2018.

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [November 29, 2020, 12:30am UTC](https://forum.vassalengine.org/t/name-the-module-java-app-buttons/11395/6 "2020-11-29T00:30:31Z")

</div>

I think I know what’s wrong: -Xdock:name hasn’t worked since MacOS X 10.8.

[bugs.openjdk.java.net/browse/JDK-8029440](https://bugs.openjdk.java.net/browse/JDK-8029440)  
[bugs.openjdk.java.net/browse/JDK-8173753](https://bugs.openjdk.java.net/browse/JDK-8173753)

There’s apparently no replacement for this functionality.
