mentar
asked on
How to change the top left program icon in swing
Hello there,
I have a problem identifying the top left program icon in swing, that's the one that's on the program tool bar... there must be a way to override the default CoffeeCup icon somehow does anybody know?
Thanks,
Mentar
I have a problem identifying the top left program icon in swing, that's the one that's on the program tool bar... there must be a way to override the default CoffeeCup icon somehow does anybody know?
Thanks,
Mentar
When you create a new JFrame, you can pass it as a parametera a GraphicsConfiguration component, which will show up in the top left corner of the screen. If it is null, the default icon will be used.
hth,
Odog
hth,
Odog
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks... just tried it works perfectly :)
ASKER