Examples of RTextScrollPane


Examples of org.fife.ui.rtextarea.RTextScrollPane

    globalScriptHeader.add(globalLanguageField);
    globalScriptHeader.add(globalHeader2);

    final JPanel globalScriptContentHolder = new JPanel(new BorderLayout());
    globalScriptContentHolder.add(globalScriptHeader, BorderLayout.NORTH);
    globalScriptContentHolder.add(new RTextScrollPane(700, 600, globalScriptTextArea, true), BorderLayout.CENTER);
    return globalScriptContentHolder;
  }
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

      _propertiesWrapper = new RSyntaxPropertiesWrapper(props);


    _textArea = new SquirrelRSyntaxTextArea(session, prefs, _propertiesWrapper, getIdentifier());

      _textScrollPane = new RTextScrollPane(_textArea);

      _textScrollPane.setLineNumbersEnabled(prefs.isLineNumbersEnabled());


      dt = new DropTarget(_textArea, new FileEditorDropTargetListener(session));
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    settingsListener = new InternalSettingsListener();
    settings.addSettingsListener( settingsListener );

    // scrollPane = new RTextScrollPane( 500, 300, editArea, true );
    scrollPane = new RTextScrollPane( editArea, true );
    scrollPane.setPreferredSize( new Dimension( 500, 300 ) );
    add( scrollPane );

    UISupport.addPreviewCorner( scrollPane, true );
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    ac = new AutoCompletion(provider);
    ac.setListCellRenderer(new CCellRenderer());
    ac.setShowDescWindow(true);
    ac.setParameterAssistanceEnabled(true);
    ac.install(textArea);
    contentPane.add(new RTextScrollPane(textArea, true));

//    textArea.setToolTipSupplier((ToolTipSupplier)provider);
    ToolTipManager.sharedInstance().registerComponent(textArea);

    setJMenuBar(createMenuBar());
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

      this.setLayout(new BorderLayout());
      textArea = new RSyntaxTextArea();
      textArea.setText(s);
      // textArea.setLineWrap(true);
      // textArea.setWrapStyleWord(true);
      RTextScrollPane pane = new RTextScrollPane(textArea);
      this.add(pane);

      textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVASCRIPT);

      JScrollPane scroll = new JScrollPane(this);
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    this.setLayout(new BorderLayout());
    textArea = new RSyntaxTextArea();
    textArea.setText(s.getScript());
    //textArea.setLineWrap(true);
    //textArea.setWrapStyleWord(true);
    RTextScrollPane pane = new RTextScrollPane(textArea);
    this.add(pane);

    textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVASCRIPT);
     
      JScrollPane scroll = new JScrollPane(this);
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    theQueryControlsPanel.add(new JLabel(getBundleSupport().getString("JdbcDataSourceDialog.QueryDetailsLabel")), BorderLayout.WEST);
    theQueryControlsPanel.add(theQueryButtonsPanel, BorderLayout.EAST);

    final JPanel theQueryPanel = new JPanel(new BorderLayout());
    theQueryPanel.add(theQueryControlsPanel, BorderLayout.NORTH);
    theQueryPanel.add(new RTextScrollPane(500, 300, queryTextArea, true), BorderLayout.CENTER);
    theQueryPanel.setBorder(BorderFactory.createEmptyBorder(8, 8, 0, 8));

    // Create the query details panel
    final JPanel queryDetailsPanel = new JPanel(new BorderLayout());
    queryDetailsPanel.add(BorderLayout.NORTH, theQueryNamePanel);
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    queryDetailsNamePanel.add(new JLabel(Messages.getString("ScriptableDataSourceEditor.QueryName")), BorderLayout.NORTH);
    queryDetailsNamePanel.add(queryNameTextField, BorderLayout.CENTER);

    final JPanel queryContentHolder = new JPanel(new BorderLayout());
    queryContentHolder.add(BorderLayout.NORTH, new JLabel(Messages.getString("ScriptableDataSourceEditor.QueryLabel")));
    queryContentHolder.add(BorderLayout.CENTER, new RTextScrollPane(500, 300, queryTextArea, true));

    // Create the query details panel
    final JPanel queryDetailsPanel = new JPanel(new BorderLayout());
    queryDetailsPanel.setBorder(new EmptyBorder(0, 8, 8, 8));
    queryDetailsPanel.add(BorderLayout.NORTH, queryDetailsNamePanel);
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    syntaxSelectionPane.setLayout(new FlowLayout());
    syntaxSelectionPane.add(syntaxBox);

    final JPanel contentPane = new JPanel();
    contentPane.setLayout(new BorderLayout());
    contentPane.add(new RTextScrollPane(500, 300, textArea, true), BorderLayout.CENTER);
    contentPane.add(syntaxBox, BorderLayout.NORTH);

    return contentPane;
  }
View Full Code Here

Examples of org.fife.ui.rtextarea.RTextScrollPane

    syntaxBox.addActionListener(new SyntaxHighlightAction());
    syntaxSelectionPane.add(syntaxBox);

    final JPanel contentPane = new JPanel();
    contentPane.setLayout(new BorderLayout());
    contentPane.add(new RTextScrollPane(500, 300, textArea, true), BorderLayout.CENTER);
    contentPane.add(syntaxBox, BorderLayout.NORTH);

    tab = new JTabbedPane();
    tab.addTab(UtilMessages.getInstance().getString("QuerySelectorDialog.DefinedQueries"), new JScrollPane(fieldList));
    tab.addTab(UtilMessages.getInstance().getString("QuerySelectorDialog.CustomQuery"), contentPane);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.