While working on my application, I somehow have lost the cross platform window decorations and instead have the decorations of my desktop (Windows XP). My look and feel is set in two sections, the constructor of my main frame which extends JFrame:
And here in my main() method:
Any ideas of what I am doing wrong? Other sub-windows do have the proper decorations but for some reason this one doesn't. Also, not sure the etiquette for posting code. Was this too much?
Thanks Joel [ August 31, 2004: Message edited by: Joel Ricker ]
posted 12 years ago
You may try put "JFrame.setDefaultLookAndFeelDecorated( true );" at the begin of your code. same as UIManager.setLookAndFeel().