# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: D:\ws\main
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.form
--- autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.form
+++ autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.form
@@ -16,10 +16,10 @@
-
-
+
+
@@ -35,15 +35,16 @@
-
-
+
+
+
-
+
-
+
@@ -51,22 +52,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -131,5 +116,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Index: autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.java
--- autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.java
+++ autoupdate.ui/src/org/netbeans/modules/autoupdate/ui/wizards/LicenseApprovalPanel.java
@@ -68,7 +68,6 @@
/** Creates new form LicenseApprovalPanel */
public LicenseApprovalPanel (InstallUnitWizardModel model, boolean isApproved) {
initComponents ();
- taTitle.setBackground( new Color( 0, 0, 0, 0 ) );
cbAccept.setSelected (isApproved);
if (model != null) {
writeLicenses(model);
@@ -129,20 +128,13 @@
// //GEN-BEGIN:initComponents
private void initComponents() {
- taTitle = new javax.swing.JTextArea();
cbAccept = new javax.swing.JCheckBox();
cbPlugins = new javax.swing.JComboBox();
spLicense = new javax.swing.JScrollPane();
taLicense = new javax.swing.JTextArea();
lbPlugins = new javax.swing.JLabel();
+ tpTitle = new javax.swing.JTextPane();
- taTitle.setEditable(false);
- taTitle.setLineWrap(true);
- taTitle.setText(org.openide.util.NbBundle.getMessage(LicenseApprovalPanel.class, "LicenseApprovalPanel_taTitle_Text")); // NOI18N
- taTitle.setWrapStyleWord(true);
- taTitle.setBorder(javax.swing.BorderFactory.createEmptyBorder(4, 4, 4, 4));
- taTitle.setOpaque(false);
-
org.openide.awt.Mnemonics.setLocalizedText(cbAccept, org.openide.util.NbBundle.getMessage(LicenseApprovalPanel.class, "LicenseApprovalPanel.cbAccept.text")); // NOI18N
cbAccept.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
@@ -169,14 +161,20 @@
lbPlugins.setLabelFor(cbPlugins);
org.openide.awt.Mnemonics.setLocalizedText(lbPlugins, org.openide.util.NbBundle.getMessage(LicenseApprovalPanel.class, "LicenseApprovalPanel.lbPlugins.text")); // NOI18N
+ tpTitle.setEditable(false);
+ tpTitle.setBorder(javax.swing.BorderFactory.createEmptyBorder(1, 1, 1, 1));
+ tpTitle.setText(org.openide.util.NbBundle.getMessage(LicenseApprovalPanel.class, "LicenseApprovalPanel_taTitle_Text")); // NOI18N
+ tpTitle.setOpaque(false);
+ tpTitle.setRequestFocusEnabled(false);
+
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
this.setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addComponent(taTitle)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(tpTitle, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addComponent(lbPlugins)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
@@ -188,7 +186,8 @@
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
- .addComponent(taTitle, javax.swing.GroupLayout.PREFERRED_SIZE, 65, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap()
+ .addComponent(tpTitle, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(cbPlugins)
@@ -235,7 +234,7 @@
private javax.swing.JLabel lbPlugins;
private javax.swing.JScrollPane spLicense;
private javax.swing.JTextArea taLicense;
- private javax.swing.JTextArea taTitle;
+ private javax.swing.JTextPane tpTitle;
// End of variables declaration//GEN-END:variables
private void writeLicenses(InstallUnitWizardModel model) {