|
@@ -3,7 +3,7 @@
|
|
|
* and open the template in the editor.
|
|
|
*/
|
|
|
|
|
|
-/*
|
|
|
+ /*
|
|
|
* LwjglAppletCustomizerPanel.java
|
|
|
*
|
|
|
* Created on 11.11.2010, 16:56:53
|
|
@@ -23,7 +23,9 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
|
|
|
private ProjectExtensionProperties properties;
|
|
|
|
|
|
- /** Creates new form LwjglAppletCustomizerPanel */
|
|
|
+ /**
|
|
|
+ * Creates new form LwjglAppletCustomizerPanel
|
|
|
+ */
|
|
|
public DesktopExeCustomizerPanel(ProjectExtensionProperties properties) {
|
|
|
this.properties = properties;
|
|
|
initComponents();
|
|
@@ -101,16 +103,21 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
} else {
|
|
|
properties.setProperty("bundle.jre.enabled", "");
|
|
|
}
|
|
|
+ if (!jTextField1.getText().equals("")) {
|
|
|
+ properties.setProperty("bundle.jre.version", jTextField1.getText());
|
|
|
+ } else {
|
|
|
+ properties.setProperty("bundle.jre.version", null);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
public void actionPerformed(ActionEvent e) {
|
|
|
saveProperties();
|
|
|
}
|
|
|
|
|
|
- /** 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.
|
|
|
+ /**
|
|
|
+ * 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">//GEN-BEGIN:initComponents
|
|
@@ -125,6 +132,8 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
jCheckBox4 = new javax.swing.JCheckBox();
|
|
|
jCheckBox5 = new javax.swing.JCheckBox();
|
|
|
jCheckBox6 = new javax.swing.JCheckBox();
|
|
|
+ jTextField1 = new javax.swing.JTextField();
|
|
|
+ jLabel2 = new javax.swing.JLabel();
|
|
|
|
|
|
jCheckBox1.setText(org.openide.util.NbBundle.getMessage(DesktopExeCustomizerPanel.class, "DesktopExeCustomizerPanel.jCheckBox1.text")); // NOI18N
|
|
|
|
|
@@ -150,6 +159,10 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
jCheckBox6.setText(org.openide.util.NbBundle.getMessage(DesktopExeCustomizerPanel.class, "DesktopExeCustomizerPanel.jCheckBox6.text")); // NOI18N
|
|
|
jCheckBox6.setToolTipText(org.openide.util.NbBundle.getMessage(DesktopExeCustomizerPanel.class, "DesktopExeCustomizerPanel.jCheckBox6.toolTipText")); // NOI18N
|
|
|
|
|
|
+ jTextField1.setText(org.openide.util.NbBundle.getMessage(DesktopExeCustomizerPanel.class, "DesktopExeCustomizerPanel.jTextField1.text")); // NOI18N
|
|
|
+
|
|
|
+ jLabel2.setText(org.openide.util.NbBundle.getMessage(DesktopExeCustomizerPanel.class, "DesktopExeCustomizerPanel.jLabel2.text")); // NOI18N
|
|
|
+
|
|
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
|
|
this.setLayout(layout);
|
|
|
layout.setHorizontalGroup(
|
|
@@ -167,6 +180,12 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
.addComponent(jCheckBox5, javax.swing.GroupLayout.DEFAULT_SIZE, 365, Short.MAX_VALUE)
|
|
|
.addComponent(jCheckBox6, javax.swing.GroupLayout.DEFAULT_SIZE, 365, Short.MAX_VALUE))
|
|
|
.addContainerGap())
|
|
|
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
|
|
+ .addContainerGap()
|
|
|
+ .addComponent(jLabel2)
|
|
|
+ .addGap(18, 18, 18)
|
|
|
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
|
|
|
);
|
|
|
layout.setVerticalGroup(
|
|
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
@@ -185,7 +204,11 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
.addComponent(jCheckBox6)
|
|
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
|
- .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE)
|
|
|
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
|
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
|
+ .addComponent(jLabel2))
|
|
|
+ .addGap(12, 12, 12)
|
|
|
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 189, Short.MAX_VALUE)
|
|
|
.addContainerGap())
|
|
|
);
|
|
|
}// </editor-fold>//GEN-END:initComponents
|
|
@@ -198,7 +221,9 @@ public class DesktopExeCustomizerPanel extends javax.swing.JPanel implements Act
|
|
|
private javax.swing.JCheckBox jCheckBox5;
|
|
|
private javax.swing.JCheckBox jCheckBox6;
|
|
|
private javax.swing.JLabel jLabel1;
|
|
|
+ private javax.swing.JLabel jLabel2;
|
|
|
private javax.swing.JScrollPane jScrollPane1;
|
|
|
private javax.swing.JTextArea jTextArea1;
|
|
|
+ private javax.swing.JTextField jTextField1;
|
|
|
// End of variables declaration//GEN-END:variables
|
|
|
}
|