I found what the problem was. Such a stupid blunder of mine :D
I had to set up look and feel before creating a button:
package differenttests;
import java.awt.Point;
import...
Type: Posts; User: goodguy
I found what the problem was. Such a stupid blunder of mine :D
I had to set up look and feel before creating a button:
package differenttests;
import java.awt.Point;
import...
I tried it. It looks like this:
http://s57.radikal.ru/i157/1104/0b/baaf93e640e2.jpg
With this code:
package differenttests;
import java.awt.Point;
import javax.swing.JButton;
import...
Hi,
I'm trying to create a simple JFrame with a button on it, but I want this button to look like a native system one.
Here's the code
package tests;
import java.awt.Button;
import...