i was wondering if its possible to change the look of the buttons?

http://peecee.dk/index.php?id=80239&noresize=yes
the left one is how it looks in Netbeans and the right one is how it looks when i run it.

i dont like the one to the right :/

is there any way to change this ?

LookAndFeel

Google that term.

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.

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);

Thank you! Just what i was looking for :D

And like I said, LookAndFeel. It takes about two minutes to find a tutorial on it, if you look.

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

Start your own thread, please.

Closing this zombie.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.