Meaningless Drivel is fun!
The moose likes Swing / AWT / SWT and the fly likes Look and Feel Command Line Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Look and Feel Command Line" Watch "Look and Feel Command Line" New topic

Look and Feel Command Line

Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101

I would like to change the LAF of my app

which can be similarly achieved by the command line switch,

is working fine. My question is, is there a similar switch that set undecorated to false?

Greg Brannon

Joined: Oct 24, 2010
Posts: 563
A question like yours - a simple yes/no, really - is where the API comes in real handy. If you navigate to the JFrame API, you'll see that JFrame has a method setDefaultLookAndFeelDecorated() with some details about it, although the explanation is a little confusing. What does "provides a hint" mean?

For further details, follow the method link and/or look for other tutorials, as necessary.

Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
I agree. Here's the link:
subject: Look and Feel Command Line
It's not a secret anymore!