This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Look and Feel Command Line" Watch "Look and Feel Command Line" New topic
Author

Look and Feel Command Line

Arthur Buliva
Ranch Hand

Joined: Mar 08, 2006
Posts: 101
Greetings

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
Bartender

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
 
Consider Paul's rocket mass heater.
 
subject: Look and Feel Command Line
 
Similar Threads
compilation vs run
Application not accessing attached JAR file
ArrayList problems...
JAI- How do i load a high resolution Image??
java swing Timers