This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 557
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.

Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
I agree. Here's the link:
subject: Look and Feel Command Line