Package javax.swing

Examples of javax.swing.JTextArea


  }

  public JPanel getSettingsPanel() {

    final JPanel content = new JPanel(new BorderLayout(0, 7));
    final JTextArea ta = new JTextArea(mLocalizer.msg("desc",
        "Accept all programs marked by plugin:"));
    ta.setLineWrap(true);
    ta.setWrapStyleWord(true);
    ta.setOpaque(false);
    ta.setEditable(false);
    ta.setFocusable(false);
    content.add(ta, BorderLayout.NORTH);

    final PluginProxy[] plugins = PluginProxyManager.getInstance()
        .getActivatedPlugins();
    mBox = new JComboBox(plugins);
View Full Code Here


   */
  private JPanel createLicencePanel()
  {

    final JPanel licencePanel = new JPanel(new BorderLayout());
    final JTextArea area = new JTextArea(this.licence);
    area.setLineWrap(true);
    area.setWrapStyleWord(true);
    area.setCaretPosition(0);
    area.setEditable(false);
    licencePanel.add(new JScrollPane(area));
    return licencePanel;

  }
View Full Code Here

            description += title;
            description += length;
            counter++;
        }

        JTextArea textField = ComponentFactory.getTextArea();
        textField.setPreferredSize(new Dimension(600, 120));
        textField.setText(description);
        return textField;       
    }
View Full Code Here

            description += title;
            description += length;
            counter++;
        }

        JTextArea textField = ComponentFactory.getTextArea();
        textField.setPreferredSize(new Dimension(600, 120));
        textField.setText(description);
        return textField;       
    }
View Full Code Here

        ObjectUtilities.getClassLoader(SwingCommonModule.class));
    setModal(true);
    detailsAction = new DetailsAction();

    messageLabel = new JLabel();
    backtraceArea = new JTextArea();

    scroller = new JScrollPane(backtraceArea);
    scroller.setVisible(false);

    final JPanel detailPane = new JPanel();
View Full Code Here

    final TimeZone timeZone = parameterContext.getResourceBundleFactory().getTimeZone();

    final Format format =
        TextComponentEditHandler.createFormat(formatString, locale, timeZone, entry.getValueType());

    textArea = new JTextArea();

    handler =
        new TextComponentEditHandler(entry.getValueType(), entry.getName(), textArea, updateContext, format);
    textArea.getDocument().addDocumentListener(handler);
    textArea.setColumns(60);
View Full Code Here

    setSize(800, 600);
  }

  protected Component createContentPane()
  {
    textArea = new JTextArea();
    textArea.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 14));
    textArea.setLineWrap(false);
    textArea.setEditable(true);

    final JPanel panel = new JPanel();
View Full Code Here

    setModal(true);
  }

  protected void init()
  {
    patternField = new JTextArea();
    extensionField = new JTextField();
    super.init();
  }
View Full Code Here

    setModal(true);
  }

  protected void init()
  {
    formulaField = new JTextArea();
    extensionField = new JTextField();
    super.init();
  }
View Full Code Here

  {
    setLayout(new GridBagLayout());

    final JLabel messageOneLabel = new JLabel("One:");
    final JLabel messageTwoLabel = new JLabel("Two:");
    messageOneField = new JTextArea();
    messageOneField.setWrapStyleWord(true);
    messageOneField.setRows(10);
    messageTwoField = new JTextArea();
    messageTwoField.setRows(10);
    messageTwoField.setWrapStyleWord(true);

    GridBagConstraints gbc = new GridBagConstraints();
    gbc.gridx = 0;
View Full Code Here

TOP

Related Classes of javax.swing.JTextArea

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.