我已从
Windows机器连接到Solaris 11.我已将DISPLAY设置为我的机器.我正在使用
Java 8.
注意:使用Java 6时,这很好用.
当我启动对话框时,它的按钮和其他摆动组件不会被渲染.
观察到它的作用
o Windows 7企业版
o Windows Server 2012 Enterprise
我试过更换L& F但是没用.当我使用“GTKLookAndFeel”时,按钮出现但没有文字/标签.
任何帮助是极大的赞赏.如果需要任何详细说明,请告诉我.谢谢.
我的对话框的代码如下
package com.ui;
import javax.swing.SwingUtilities;
public class SimpleDialog extends java.awt.Dialog {
private static final long serialVersionUID = -8298472889742780386L;
public SimpleDialog(java.awt.Frame parent,boolean modal) {
super(parent,modal);
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.
*/
// //GEN-BEGIN:initComponents
private void initComponents() {
btnSkip = new javax.swing.JButton();
btnRetry = new javax.swing.JButton();
btnAbort = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();
lblMessage = new javax.swing.JTextArea();
btnViewLog = new javax.swing.JBut