4
Contributors
7
Replies
11
Views
9 Years
Discussion Span
Last Post by masijade
0

as far as i can see it just changes the color ?
i was hoping to change the actual shape to make it look like the buttons i windows.

0

Use the following piece of code to get Windows OS Look And Feel

try {
			//org.fife.plaf.VisualStudio2005.VisualStudio2005LookAndFeel
			//de.javasoft.plaf.synthetica.SyntheticaStandardLookAndFeel
			//com.jgoodies.looks.plastic.Plastic3DLookAndFeel	
			UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
		} catch (ClassNotFoundException e) {
			e.printStackTrace();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		} catch (UnsupportedLookAndFeelException e) {
			e.printStackTrace();
		}
		getContentPane().setLayout(null);
0

Why does this happen: I want the first window (one.jpg) to look like the second (two.jpg). What's wrong?

Attachments one.JPG 11.71 KB two.JPG 25.65 KB
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.