Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2005

Tip: Looking for answers? Try searching our database.

Difference in opinion with look and feel !

Thread view: 
Rajesh.Rapaka - 07 Jul 2005 10:27 GMT
Hi,

I have an interesting problem while using the look and feel. This is my
function:

 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());

Well the tool bars, the menu are all system's look and feel. i.e i am
using Windows OS. so i get all windows look and feels. But when i use
the file chooser, I get an open dialog box with look and feel of Sun
Microsystems' solaris.

Does anyone have any idea why this is coming up like this?
Interestingly I am not even able to reproduce this an other project.
Plz help,

Thank you,
Regards,
Rajesh Rapaka.
Andrew Thompson - 07 Jul 2005 10:50 GMT
> Does anyone have any idea why this is coming up like this?
> Interestingly I am not even able to reproduce this an other project.

It would be down to the difference between the one
that works and the one that doesn't.

Undergo a process of changing the one that works,
one line at a time, until it doesn't. You will end
up with 'the magic line' that explains the difference.
Or ..an extremely short example of one that works, so
you can build on it!

Having said that, it might be that the chooser was
instantiated prior to the PLAF being set, in which
case you'll need to call the method that updates
the UI tree.

[ Oh, and you'll find the GUI experts on comp.lang.java.gui,
if you intend to repost this question there, please *mention*
this thread. ]

Signature

Andrew Thompson
http://www.PhySci.org/codes/  Web & IT Help
http://www.PhySci.org/  Open-source software suite
http://www.1point1C.org/  Science & Technology
http://www.LensEscapes.com/  Images that escape the mundane



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.