mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
04.04.2009 67012a82a534672293997d957c6a34621ae1c3e2
Fix for issue 4208 (LicensePanel should use JTextArea instead of TextArea)
Use the JTextArea instead of TextArea and improve some insets in the panel.
1 files modified
13 ■■■■■ changed files
opends/src/quicksetup/org/opends/quicksetup/installer/ui/InstallLicensePanel.java 13 ●●●●● patch | view | raw | blame | history
opends/src/quicksetup/org/opends/quicksetup/installer/ui/InstallLicensePanel.java
@@ -31,9 +31,10 @@
import static org.opends.messages.QuickSetupMessages.*;
import java.awt.Component;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.*;
import org.opends.quicksetup.ui.GuiApplication;
@@ -75,7 +76,7 @@
    return null;
  }
  private TextArea detailsTextArea;
  private JTextArea detailsTextArea;
  private JCheckBox acceptCheck;
  /**
@@ -101,9 +102,10 @@
            UIFactory.TextStyle.SECONDARY_FIELD_VALID);
    gbc.insets = UIFactory.getEmptyInsets();
    gbc.insets.bottom = 3;
    panel.add(l, gbc);
    detailsTextArea = new TextArea();
    detailsTextArea = new JTextArea(10, 50);
    detailsTextArea.setBackground(
        UIFactory.CURRENT_STEP_PANEL_BACKGROUND);
@@ -112,7 +114,7 @@
    gbc.insets = UIFactory.getEmptyInsets();
    gbc.fill = GridBagConstraints.BOTH;
    gbc.weighty = 1.0;
    panel.add(detailsTextArea, gbc);
    panel.add(new JScrollPane(detailsTextArea), gbc);
    acceptCheck = UIFactory.makeJCheckBox(INFO_LICENSE_CLICK_LABEL.get(),
        null,
@@ -121,6 +123,7 @@
    acceptCheck.setSelected(false);
    gbc.insets = UIFactory.getEmptyInsets();
    gbc.insets.top = UIFactory.TOP_INSET_RADIO_SUBORDINATE;
    gbc.fill = GridBagConstraints.BOTH;
    gbc.weighty = 0.0;
    panel.add(acceptCheck, gbc);