Package com.intellij.ui.components

Examples of com.intellij.ui.components.JBScrollPane


        setMigrateLogText("");

        contentPane = new JPanel();
        contentPane.setLayout(new BorderLayout());

        scrollpane = new JBScrollPane();
        migrateLog = new JTextArea("Yii migrations");
        //migrateLog.setLineWrap(true);
        migrateLog.setEditable(false);
        migrateLog.setEnabled(true);
        scrollpane.setLayout(new ScrollPaneLayout());
View Full Code Here


        viewRevisionPopup = am.createActionPopupMenu(ActionPlaces.CHANGES_VIEW_POPUP, popupActions);
    }

    @Nullable
    protected JComponent createCenterPanel() {
        JBScrollPane scrollPane = new MyScrollPane(gc.getGraphControl());
        viewPort = scrollPane.getViewport();
        scrollPane.putClientProperty(DataManager.CLIENT_PROPERTY_DATA_PROVIDER, this);
        return ScrollOverlayFactory.addOverlay(scrollPane, new BranchNamesOverlay(), false, true);
    }
View Full Code Here

    tableHeader.setPreferredSize(new Dimension(
      tableHeader.getPreferredSize().width,
      (int) (tableHeader.getPreferredSize().height * 1.2)
    ));

    JScrollPane scrollPane = new JBScrollPane(
      table,
      ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
      ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER
    );
    Dimension scrollDimension = new Dimension(
      preferredScrollableViewportSize.width,
      tableHeader.getPreferredSize().height + preferredScrollableViewportSize.height + 4
    );
    scrollPane.setMinimumSize(scrollDimension);

    myComponent = ToolbarDecorator.createDecorator(table)
      .disableUpAction()
      .disableDownAction()
      .setAddAction(new AnActionButtonRunnable() {
View Full Code Here

      .addLabeledComponent("&Browser timeout:", addMillisDescription(myBrowserTimeoutSpinner))
      .addLabeledComponent("&Runner mode:", myRunnerModeComboBox)
      .getPanel();
    JPanel result = createResultPanel(form);
    result.setBorder(BorderFactory.createEmptyBorder(GAP, GAP, GAP, GAP));
    myTabInfo = new TabInfo(new JBScrollPane(result));
    myTabInfo.setText("Settings");
    setSettings(JstdServerSettingsManager.loadSettings());
    JstdServerSettingsManager.addListener(new JstdServerSettingsManager.Listener() {
      @Override
      public void onChanged(@NotNull JstdServerSettings settings) {
View Full Code Here

        }
        return null;
    }

    private JBScrollPane table(TableModel model, final AtomicInteger selectedRow) {
        return new JBScrollPane(withSelectionCallback(new JTable(model), selectedRow));
    }
View Full Code Here

        componentSelection = new ComboBox();

        jLabel1 = new JLabel();
        jLabelMessage = new JLabel();
        jLabelMessage.setOpaque(true);
        jScrollPane1 = new JBScrollPane();

        examplesTree = new Tree();

        jPanel1.setBackground(new Color(255, 255, 255));
        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
View Full Code Here

        editTableView = new JsonTreeTableView(JsonTreeModel.buildJsonTree(mongoDocument), JsonTreeTableView.COLUMNS_FOR_WRITING);
        editTableView.setName("editionTreeTable");

        editionTreePanel.invalidate();
        editionTreePanel.removeAll();
        editionTreePanel.add(new JBScrollPane(editTableView));
        editionTreePanel.validate();

        buildPopupMenu();
    }
View Full Code Here

        buildPopupMenu();

        resultTreePanel.invalidate();
        resultTreePanel.removeAll();
        resultTreePanel.add(new JBScrollPane(resultTableView));
        resultTreePanel.validate();
    }
View Full Code Here

        mongoTree = createTree();
        mongoTree.setCellRenderer(new MongoTreeRenderer());
        mongoTree.setName("mongoTree");

        JBScrollPane mongoTreeScrollPane = new JBScrollPane(mongoTree);

        setLayout(new BorderLayout());
        treePanel.add(mongoTreeScrollPane, BorderLayout.CENTER);
        add(rootPanel, BorderLayout.CENTER);
View Full Code Here

        jEditorPane = new JEditorPane(UIUtil.HTML_MIME, "");
        jEditorPane.setPreferredSize(new Dimension(150, 100));
        jEditorPane.setEditable(false);
        jEditorPane.setBackground(UIUtil.getComboBoxDisabledBackground());

        final JBScrollPane tableScroll = new JBScrollPane(jEditorPane);
        tableScroll.setBorder(null);
        jEditorPane.setBorder(null);
        wrapper.add(tableScroll, SwingConstants.CENTER);
        jEditorPane.setBackground(UIUtil.getTableBackground());
        wrapper.setBackground(UIUtil.getTableBackground());
View Full Code Here

TOP

Related Classes of com.intellij.ui.components.JBScrollPane

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.