Package javax.swing

Examples of javax.swing.JTextArea


    genre.setEnabled(false);
    comment = new JTextField();
    comment.addActionListener(saveButtonListener);
    comment.setEnabled(false);

    tracks = new JTextArea();
    tracks.setEnabled(false);
    JScrollPane tracksPane = new JScrollPane(tracks);

    JButton query = new JButton(LangageManager
        .getProperty("freedbpanel.search"));
View Full Code Here


    /** Constructor. */
    public AboutLicensePanel(GanttProject parent) {
        super(GanttLanguage.getInstance().getText("license"), GanttLanguage
                .getInstance().getText("settingsLicense"), parent);

        JTextArea taLicense = new JTextArea();
        StringBuffer text = new StringBuffer();
        text
                .append("This program is free software; you can redistribute it and/or modify it under the terms of the GNU General ");
        text
                .append("Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\n");
        text
                .append("This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied ");
        text
                .append("warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\n");
        text
                .append("You should have received a copy of the GNU General Public License along with this program; if not, write to the Free ");
        text
                .append("Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n\n");
        text
                .append("Browse the entire GPL license at http://www.gnu.org/copyleft/gpl.html\n");

        taLicense.setText(text.toString());
        taLicense.setEditable(false);
        taLicense.setLineWrap(true);
        taLicense.setWrapStyleWord(true);

        JPanel licensePanel = new JPanel(new BorderLayout());
        licensePanel.add(new JScrollPane(taLicense), BorderLayout.CENTER);
        licensePanel.setPreferredSize(new Dimension(400, 350));
        vb.add(licensePanel);
View Full Code Here

        OptionsPageBuilder builder = new OptionsPageBuilder();
        labelDefaultValue = new JLabel(language.getText("defaultValue") + ": ");

        {
            // Text
            textArea = new JTextArea();
            textArea.setWrapStyleWord(true);
            textArea.setLineWrap(true);
            textArea.setColumns(25);
            textArea.setRows(5);
            JScrollPane jsp = new JScrollPane(textArea);
View Full Code Here

                    "/icons/question.png"))));

        getContentPane().add(b1, "West");

        Box b2 = Box.createVerticalBox();
        JTextArea textArea = new JTextArea(message);
        textArea.setEditable(false);
        textArea.setBackground(new JLabel().getBackground());
        b2.add(textArea);
        getContentPane().add(b2, "Center");

        JPanel p = new JPanel();
        // YES BUTTON
View Full Code Here

        secondRowPanelNotes = new JPanel();

        secondRowPanelNotes.setBorder(new TitledBorder(new EtchedBorder(),
                language.getText("notesTask") + ":"));

        noteAreaNotes = new JTextArea(8, 40);
        noteAreaNotes.setLineWrap(true);
        noteAreaNotes.setWrapStyleWord(true);
        noteAreaNotes.setBackground(new Color(1.0f, 1.0f, 1.0f));

        scrollPaneNotes = new JScrollPane(noteAreaNotes);
View Full Code Here

      }
        };
        builder.setI18N(i18n);
        {
            // Text
            textArea = new JTextArea();
            textArea.setWrapStyleWord(true);
            textArea.setLineWrap(true);
            textArea.setColumns(25);
            textArea.setRows(5);
            JScrollPane jsp = new JScrollPane(textArea);
View Full Code Here

   *
   * @return javax.swing.JTextArea
   */
  private JTextArea getJTextArea_Explication() {
    if(jTextArea_Explication == null) {
      jTextArea_Explication = new JTextArea();
      jTextArea_Explication.setEditable(false);
      jTextArea_Explication.setLineWrap(true);
      jTextArea_Explication.setWrapStyleWord(true);
      if(listeDoublons.size() > 0)
        // jTextArea_Explication.setText("Plusieurs fichiers musicaux semblent identiques.\nIl pourrait s'agir de doublons.\n\nVous pouvez choisir le fichier que vous pr�f�rez conserver.\nSi vous ne souhaitez pas apporter de modification, cliquez sur Fermer");
View Full Code Here

   *
   * @return javax.swing.JTextArea
   */
  private JTextArea getJTextArea_Explication() {
    if(jTextArea_Explication == null) {
      jTextArea_Explication = new JTextArea();
      jTextArea_Explication.setEditable(false);
      jTextArea_Explication.setLineWrap(true);
      jTextArea_Explication.setWrapStyleWord(true);
      if(listeDoublons.size() > 0)
        // jTextArea_Explication.setText("Plusieurs artistes avec des noms tr�s proches ont �t� d�tect�s. Il pourrait s'agir du m�me artiste.\n\nVous pouvez choisir le nom de l'artiste que vous pr�f�rez conserver. Si vous ne souhaitez pas apporter de modification, cliquez sur Annuler");
View Full Code Here

        topPanel.add(labelTitle, BorderLayout.WEST);
        topPanel.add(new myIconPanel(), BorderLayout.EAST);
        topPanel.setPreferredSize(new Dimension(iWidth, 26));

        vb.add(topPanel);
        JTextArea textArea = new JTextArea(comment);
        textArea.setEditable(false);
        textArea.setDragEnabled(false);
        textArea.setLineWrap(true);
        textArea.setWrapStyleWord(true);
        textArea.setMargin(new Insets(3, 5, 3, 5));
        textArea.setBackground(getBackground());
        vb.add(textArea);

        // vb.setBorder(LineBorder.createBlackLineBorder());
        applyComponentOrientation(GanttLanguage.getInstance()
                .getComponentOrientation());
View Full Code Here

        JPanel descrPanel = new JPanel(new BorderLayout());
        descrPanel.add(new JLabel(language.getText("shortDescription")),
                BorderLayout.WEST);
        vbproject.add(descrPanel);
        taDescr = new JTextArea(12, 25);
        taDescr.setLineWrap(true);
        taDescr.setWrapStyleWord(true);
        JScrollPane scpArea = new JScrollPane(taDescr);
        vbproject.add(scpArea);
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.