Package javax.swing.border

Examples of javax.swing.border.LineBorder


    gbc.gridx = gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.NORTHWEST;
    gbc.weighty = 1.0;

    final JPanel panel = new JPanel(new GridBagLayout());
    panel.setBorder(new TitledBorder(new LineBorder(Color.BLACK),
        "Preceding Suggestions"));

    final SuggestionRowPanel rowPanel = new SuggestionRowPanel(
        this.queryResult_preceding, this.varSO, this.varPred);
    rowPanel.setLayout(null);
View Full Code Here


    gbc.gridx = gbc.gridy = 0;
    gbc.anchor = GridBagConstraints.NORTHWEST;
    gbc.weighty = 1.0;

    final JPanel panel = new JPanel(new GridBagLayout());
    panel.setBorder(new TitledBorder(new LineBorder(Color.BLACK),
        "Succeeding Suggestions"));

    final SuggestionRowPanel rowPanel = new SuggestionRowPanel(
        this.queryResult_succeeding, this.varSO, this.varPred);
    rowPanel.setLayout(null);
View Full Code Here

          this.parent.visualEditor.clearDeletionOperatorsList();
          this.parent.visualEditor.clearDeletionAnnotationList();
        }

        this.selected = true;
        super.setBorderNoRemember(new LineBorder(Color.BLACK));

        if(this.isAnnotation()) {
          this.parent.visualEditor.setAnnotationForDeletion(this.getParentOp(), this.getChild());
        }
        else {
View Full Code Here

    final JPanel panel = recursiveQueryGraph.createGraph(
        gw.getContainerElements(),
        Arrange.values()[0]);

    this.panel = new ContainerPanel(this, gw, panel, recursiveQueryGraph, parent);
    this.panel.setBorder(new LineBorder(bgColor));

    if(this.operators.size() == 0) {
      this.panel.setPreferredSize(new Dimension(150, 100));

      panel.setPreferredSize(new Dimension(150 - 14, 100 - 2));
View Full Code Here

      public void actionPerformed(ActionEvent e) {
        HistoryView.this.model.deleteCurrentSelection() ;
      }// actionPerformed(ActionEvent)
    }) ;
    this.popupMenu = new JPopupMenu() ;
    this.popupMenu.setBorder(new LineBorder(Color.LIGHT_GRAY)) ;
    this.popupMenu.add(this.delete) ;
  }// build()
View Full Code Here

    private void initComponents() {
        this.setTitle("Security Account Editor");
        JPanel mainPanel = new JPanel();
        JPanel buttonPanel = new JPanel();
        mainPanel.setBorder(new LineBorder(Color.BLACK));
        buttonPanel.setBorder(new LineBorder(Color.RED));

        JLabel securityNameTextLabel = new JLabel("Security Name");
        JLabel tickerTextLabel = new JLabel("Ticker Symbol");
        JLabel securityTypeTextLabel = new JLabel("Security Type");
        JLabel securitySubTypeTextLabel = new JLabel("Security Sub Type");
View Full Code Here

    player.addPropertyChangeListener(Player.PROP_CONNECTED_PROPERTY, this);

    setMinimumSize(new Dimension(250, 35));
    setPreferredSize(new Dimension(250, 35));
    setMaximumSize(new Dimension(32767, 35));
    setBorder(new LineBorder(UiHelper.BORDER_COLOR, 2));
    GridBagLayout gridBagLayout = new GridBagLayout();
    gridBagLayout.columnWidths = new int[] { 50, 0, 40, 0 };
    gridBagLayout.rowHeights = new int[] { 35, 0 };
    gridBagLayout.columnWeights = new double[] { 0.0, 1.0, 0.0,
        Double.MIN_VALUE };
View Full Code Here

    this.bean = bean;

    setMinimumSize(new Dimension(250, 35));
    setPreferredSize(new Dimension(250, 35));
    setMaximumSize(new Dimension(32767, 35));
    setBorder(new LineBorder(UiHelper.BORDER_COLOR, 2));
    GridBagLayout gridBagLayout = new GridBagLayout();
    gridBagLayout.columnWidths = new int[] { 50, 0, 40, 0, 0 };
    gridBagLayout.rowHeights = new int[] { 35, 0 };
    gridBagLayout.columnWeights = new double[] { 0.0, 1.0, 0.0, 0.0,
        Double.MIN_VALUE };
View Full Code Here

        editorPanel.setLayout(new BorderLayout(0, 0));

        editor = new JTextArea();
        editor.setAutoscrolls(true);
        editor.addKeyListener(new InputKeyListener());
        editor.setBorder(new LineBorder(UIManager.getColor("CheckBox.focus")));
        editor.setLineWrap(true);

        JScrollPane scroll = new JScrollPane(editor);
        editorPanel.add(scroll, BorderLayout.CENTER);
View Full Code Here

        OK.addActionListener(this);
        Cancel.addActionListener(this);
        //Help.addActionListener(this);

        //output = new JEditorPane();
        output.setBorder(new TitledBorder(new LineBorder(Color.black, 2), "output"));
        output.setPreferredSize(new Dimension(400, 150));

        display.addLine(new JScrollPane(output));

        getContentPane().add(display);
View Full Code Here

TOP

Related Classes of javax.swing.border.LineBorder

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.