osx - JFrame minimized to dock name "java" -


i displaying jframe on os x , getting "java" name of application when minimized dock. passing -xdock:name="foo", , changing name in dock when application not minimized, once minimize name in dock wrong.

to minimize calling setextendedstate(jframe.iconified).

to effect on mac os x, you'll need add option application bundle's info.plist, shown in example cited here.

<key>vmoptions</key> <string>-xdock:name=foo</string> 

Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -