aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Windows Look and Feel(urgent) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Windows Look and Feel(urgent)" Watch "Windows Look and Feel(urgent)" New topic
Author

Windows Look and Feel(urgent)

Sachin dev
Greenhorn

Joined: Aug 15, 2001
Posts: 7
Hi,
how to set Windows look and Feel for Linux OS?
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148

call,
UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel" );


- Vinod<br />-------<br />SCJP2
Sachin dev
Greenhorn

Joined: Aug 15, 2001
Posts: 7
thanx for the reply!!!
but this code will throw ClassnotFoundException because *.WindowsLookAndFeel is not supported by LinuxOS/
is there any other way ?
Ben Wood
Ranch Hand

Joined: Aug 14, 2001
Posts: 342
Hi,
I heard that the windows look and feel is exclusively available on Windows platforms. I don't know why, maybe some copyright issues here?
regards,
Ben.


SCJP 1.4, www.gsi3d.org.uk
Sachin dev
Greenhorn

Joined: Aug 15, 2001
Posts: 7
Thanx Ben

u'r right.
dev
Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
what about using try catch {}
:-)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Windows Look and Feel(urgent)