I installed IntelliJ IDEA (13.1.1 # IC-135.480) and JDK 1.8.0 (x64), and I generated some GUI with the GUI Form designer.
Then I ran the code and realized that something was wrong.
Here is a screenshot of my GUI: 
Rendering the font does not seem to be in order. In addition, Button loses its text when I click on it.
So, I installed JDK 1.7.0_40 (x64), recompiled the project, and ran it again.
When using JDK 1.7, the following form appears: 
The rendering seems OK, and the button is fine too.
So, I installed the latest Graphics and Chipset drivers and more, but the problem still exists. Have you had such problems with Java Swing interfaces? Could you help me solve my problems? Any help would be greatly appreciated.
UPDATE:
I created a small project with only 1 JTextArea and 1 JButton, and I have the same rendering problems.
According to Andrew Thompson, I changed setSize () and I started with EDT. Example below:
package at.maeh.java.client.simpleTextClient; import javax.swing.*; import java.awt.*; public class SimpleClient extends JFrame { private JPanel panel1; private JTextArea textArea1 = new JTextArea(); private JButton button1 = new JButton(); public SimpleClient() { super("SimpleClient");
The result is a simple JFrame with components in it.

When I write some text or urinate my mousePointer over Button, the components are obtained in this way (Text: testsentence.123; Button-Label: TestButton)

java java-8 swing rendering nvidia
duffy356 Mar 29 '14 at 22:08 2014-03-29 22:08
source share