• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with Look & Feel Decorations  RSS feed

 
Joel Ricker
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Jason Ireton
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may try put "JFrame.setDefaultLookAndFeelDecorated( true );" at the begin of your code. same as UIManager.setLookAndFeel().
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!