This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Swing / AWT / SWT and the fly likes swing.properties list Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "swing.properties list" Watch "swing.properties list" New topic
Author

swing.properties list

Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
Hi,
I wanted to modify the look and feel of some buttons on my Swing app using the swing.properties file.
However, i do not have the entire list of these properties. Can someone please direct me to where i can get a comprehensive list of all the properties that i can use in that file?
-Sameer


-Sam Codean<br />SCJP 1.4 (98%)<br />SCJD 5.0 (87.5%)
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Is this not a question for our Swing forum?


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
well it could be.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Not much joy with this in SCJD, so off we go to the Swinger's party...
Brian Cole
Author
Ranch Hand

Joined: Sep 20, 2005
Posts: 862
It may not be comprehensive, but I found this list via google.


bitguru blog
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
don't know if this will help, the link will take you to a program that
displays all the UIManager defaults.

http://forum.java.sun.com/thread.jspa?forumID=57&threadID=570055

(the updated version is in reply#4)
Sam Codean
Ranch Hand

Joined: Feb 26, 2006
Posts: 194
Thanks Michael!!
That helps me a lot.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Good links. This is one of the (many) things that has always bothered me with Swing development. Sun, especially with Java6, really wants it to do well, however, they don't provide (a) good enough documentation for anything beyond trivial apps, and (b) any documentation on things like properties that Swing components use to manipulate and modify them which makes for better applications. And don't get me started on the available books for Swing.

Anyway, didn't mean to semi-hijack this thread. Nothing to see here. Move along, move along.


GenRocket - Experts at Building Test Data
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: swing.properties list