3
이 내 자바 응용 프로그램을 실행할 때 보여되고 무엇을하고자하는 것입니다. My labels are blurry in Java 아니었다 도움
public class DownloadManager {
private JFrame frame;
private JTable table;
private JTextField txtUrl;
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
DownloadManager window = new DownloadManager();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}
public DownloadManager() {
initialize();
}
private void initialize() {
frame = new JFrame();
frame.setBounds(100, 100, 752, 514);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(null);
table = new JTable();
table.setBounds(47, 190, 629, 250);
frame.getContentPane().add(table);
txtUrl = new JTextField();
txtUrl.setBounds(47, 84, 391, 34);
frame.getContentPane().add(txtUrl);
txtUrl.setColumns(10);
JButton btnDownload = new JButton("Download");
btnDownload.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
}
});
btnDownload.setBounds(534, 78, 99, 47);
frame.getContentPane().add(btnDownload);
}
}
의 : 나는
PS 윈도우 7에 이클립스 루나을 사용하고
(내 버튼을 텍스트를 볼 텍스트 상자의 텍스트가 자바입니다) 편집 :
Swing rendering appears broken in JDK 1.8, correct in JDK 1.7에 의해 제안 된 해결책, 즉 최대 성능으로 NVIDIA GeForce 630M의 에너지 제어 설정을 변경하는 것이 도움이되지 않았습니다.
그리고 두 사진은 문제를 해결하기 위해 우리가 필요로하는 모든 정보를 생각? – Lrrr
@AliAmiri 클래스 – hoder
의 전체 코드를 추가했습니다. 안녕하세요, 여기에서 답변을 찾을 수 있습니다. http://stackoverflow.com/questions/22737535/swing-rendering-appears-broken-in-jdk-1-8-correct- in-jdk-1-7/26610279 # 26610279 – duffy356