Is there any way to change the position of the default java icon in the jframe so that it will appear right next to the title of the Jframe window?
Asked
Active
Viewed 323 times
1
-
Generally speaking, you can't. Unless you're willing to create a look and feel delegate which achieves the job you're looking for, which isn't nearly as easy as it sounds – MadProgrammer Mar 08 '16 at 05:34
-
Is it possible to edit current look and feel class to position the icon? – Charlie Mar 08 '16 at 05:40
-
The "system" look and feel delegates the frame decorations to the OS directly, so you have no say in its creation – MadProgrammer Mar 08 '16 at 05:47
-
*"Is there any way to change the position of the default java icon in the jframe.."* There is no need to worry about such futzing when [running under OS X](http://stackoverflow.com/a/21945380/418556) - no icon appears at all! On Windows it is down to user preference. E.G. on [my machine](http://stackoverflow.com/a/18224185/418556) the window titles are configured to show on the left (right next to the icon), but on the [machine of mKorbel](http://stackoverflow.com/a/21945380/418556) the titles are centered in the title bar and therefore not immediately beside the icon. It is user choice .. – Andrew Thompson Mar 08 '16 at 06:05
-
.. and the programmer should not try and mess with the user's choice, or to be inconsistent with other apps. that are used on that machine. – Andrew Thompson Mar 08 '16 at 06:06
-
I think this question should be closed since it is not possible to do it for a beginner like me – Charlie Mar 08 '16 at 08:22