-
Bug
-
Resolution: Fixed
-
P3
-
8, 9
-
b120
-
x86_64
-
windows_7
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8065497 | 8u45 | Philip Race | P3 | Resolved | Fixed | b01 |
JDK-8064381 | 8u40 | Philip Race | P3 | Resolved | Fixed | b15 |
JDK-8070048 | emb-8u47 | Philip Race | P3 | Resolved | Fixed | team |
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64bit.
EXTRA RELEVANT SYSTEM CONFIGURATION :
Notebook with two video cards one intel hd 4000 and geforce gtx 660m. The machine is configured to run almost all programs with the intel video card.
A DESCRIPTION OF THE PROBLEM :
All swing screens are displayed with some text not being fully displayed which makes applications useless. Almost never you can see the text on all the application buttons.
REGRESSION. Last worked in version 7u51
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just need to create a simple swing application with one button containing some text. Sometimes the text appears on the button and sometimes not. At the times the mouse move in and out of the button the appearance of the button text changes, but you are almost never able to see the full text.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package tst;
import java.util.ResourceBundle;
/**
*
* @author Harold
*/
public class TestUI extends javax.swing.JFrame {
/**
* Creates new form TestUI
*/
public TestUI() {
initComponents();
}
/**
* This method is called from within the constructor to initialize the form.
* WARNING: Do NOT modify this code. The content of this method is always
* regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jTextField1 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
name = new javax.swing.JTextField();
jTextField1.setText("jTextField1");
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jButton1.setText("hola mundo");
name.setName("name"); // NOI18N
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(171, Short.MAX_VALUE)
.addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 196, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(33, 33, 33))
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, 192, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap()
.addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 102, Short.MAX_VALUE)
.addComponent(jButton1)
.addGap(130, 130, 130))
);
pack();
}// </editor-fold>
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(TestUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(TestUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(TestUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(TestUI.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new TestUI().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField name;
// End of variables declaration
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I haven't found a way to make this work. No UI running on Java 8 runs properly.
- backported by
-
JDK-8064381 Swing applications not being displayed properly
-
- Resolved
-
-
JDK-8065497 Swing applications not being displayed properly
-
- Resolved
-
-
JDK-8070048 Swing applications not being displayed properly
-
- Resolved
-
- duplicates
-
JDK-8029621 Screen unreadable on Java 8
-
- Closed
-
-
JDK-8038998 buttons/checkboxes/menus etc have disappearing text or fail to repaint properly
-
- Closed
-
-
JDK-8067328 Many display defects with Java 8 and Intel HD card
-
- Closed
-
-
JDK-8020415 Rendering / Painting issues - Microsoft Surface Pro
-
- Closed
-
-
JDK-8035278 Graphics2D.drawLine has wrong endpoint when drawing straight lines
-
- Closed
-
-
JDK-8049901 Graphics2D.drawLine sometimes draws lines too long with D3D on Intel HD cards
-
- Closed
-
- relates to
-
JDK-8131135 Display speed has dropped, slowdown
-
- Closed
-