Package javax.swing

Examples of javax.swing.JSeparator$AccessibleJSeparator


        TitlePanel.add(TitleLabel);

        add(createVerticalStrut(10));
        add(TitlePanel);
        add(createVerticalStrut(10));
        add(new JSeparator());
        add(createVerticalStrut(20));
       
        if (subtitle != null) {
            PanelLabel SubtitleLabel = null;
            if ( rows > 0 ) {
View Full Code Here


            item.setText( idx );
            item.setActionCommand( idx );
            item.addActionListener( listener );
        }

        indices.add( new JSeparator() );
        list = partition.getUserIndices();
        while ( list.hasNext() )
        {
            String idx = ( String ) list.next();
            item = new JMenuItem();
View Full Code Here

        connectItem = addMenuItem(actionsMenu, "Connect ...");
        connectItem.setMnemonic('C');
        disconnectItem = addMenuItem(actionsMenu, "Disconnect");
        disconnectItem.setMnemonic('D');
        actionsMenu.add(new JSeparator());

        sendMsgItem = addMenuItem(actionsMenu, "Send Message ...");
        sendMsgItem.setMnemonic('M');
        sendMsgStopItem = addMenuItem(actionsMenu, "Stop Msg Sender");
        sendMsgStopItem.setMnemonic('S');
        actionsMenu.add(new JSeparator());

        rcvMsgItem = addMenuItem(actionsMenu, "Receive Message ...");
        rcvMsgItem.setMnemonic('R');
        rcvMsgStopItem = addMenuItem(actionsMenu, "Stop Msg Receiver");
        rcvMsgStopItem.setMnemonic('t');
        actionsMenu.add(new JSeparator());

        clearItem = addMenuItem(actionsMenu, "Clear Messages");
        clearItem.setMnemonic('e');

        exitItem = addMenuItem(consoleMenu, "Exit");
View Full Code Here

  workPanel.add(brokerPanel);

  workConstraints.gridy = 1;
        workConstraints.insets = new Insets(10, 0, 0, 0);
  workConstraints.fill = GridBagConstraints.HORIZONTAL;
  JSeparator sep = new JSeparator();
  workGridbag.setConstraints(sep, workConstraints);
  workPanel.add(sep);

  workConstraints.gridy = 2;
        workConstraints.insets = new Insets(0, 0, 0, 0)// reset
View Full Code Here

  c1.gridy = 1;
  c1.anchor = GridBagConstraints.WEST;
  gridbag1.setConstraints(lvp, c1);
  workPanel.add(lvp);

  JSeparator separator = new JSeparator();
  c1.gridx = 0;
  c1.gridy = 2;
  c1.ipady = 0; // reset
  c1.anchor = GridBagConstraints.CENTER; // reset
  c1.fill = GridBagConstraints.HORIZONTAL;
View Full Code Here

    gbc = new GridBagConstraints();
    gbc.gridx = 1;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.weightx = 0;
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new JSeparator(JSeparator.VERTICAL), gbc);

    gbc = new GridBagConstraints();
    gbc.anchor = GridBagConstraints.WEST;
    gbc.gridx = 2;
    gbc.weightx = 0;
    gbc.ipadx = 120;
    gbc.fill = GridBagConstraints.BOTH;
    add(pagesLabel, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 3;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.weightx = 0;
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new JSeparator(JSeparator.VERTICAL), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 4;
    gbc.anchor = GridBagConstraints.EAST;
    gbc.fill = GridBagConstraints.VERTICAL;
    gbc.weightx = 0;
    add(messagesStatusGadget, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 5;
    gbc.anchor = GridBagConstraints.EAST;
    gbc.fill = GridBagConstraints.VERTICAL;
    gbc.weightx = 0;
    add(exceptionStatusGadget, gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 6;
    gbc.anchor = GridBagConstraints.EAST;
    gbc.weightx = 0;
    gbc.fill = GridBagConstraints.VERTICAL;
    add(new JSeparator(JSeparator.VERTICAL), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 7;
    gbc.anchor = GridBagConstraints.EAST;
    gbc.fill = GridBagConstraints.VERTICAL;
View Full Code Here

    gbc.weightx = 1;
    gbc.ipadx = 250;
    gbc.anchor = GridBagConstraints.WEST;
    gbc.fill = GridBagConstraints.HORIZONTAL;
    gbc.insets = new Insets(0, 5, 2, 5);
    generalPanel.add(new JSeparator(), gbc);

    gbc = new GridBagConstraints();
    gbc.gridx = 0;
    gbc.gridy = 2;
    gbc.anchor = GridBagConstraints.WEST;
View Full Code Here

    final JLabel promptLabel = new JLabel(Messages.getString("ParameterDialog.Prompt"));
    pane.add(promptLabel);

    pane.add(Box.createRigidArea(new Dimension(10, 0)));

    final JSeparator horizontalSeparator = new JSeparator();
    horizontalSeparator.setAlignmentY(TOP_ALIGNMENT);
    pane.add(horizontalSeparator);

    return pane;
  }
View Full Code Here

//            SwingUtil.layoutToGrid(infoPanel2.getSwingComponent(), 1, 1, SwingUtil.WEIGHT_NONE, 0);
            SwingUtil.layoutToGrid(infoPanel3.getSwingComponent(), 2, 2, SwingUtil.WEIGHT_NONE, 1);

            GridPanel infoPanel = new GridPanel();
            infoPanel.add(infoPanel0);
            infoPanel.add(new JSeparator());
            infoPanel.add(infoPanel1);
            infoPanel.add(new JSeparator());
//          infoPanel.add(infoPanel2);
      infoPanel.add(infoPanel3);
     

            infoPanel.add(new JSeparator());
            infoPanel.add(infoPanel4);
           
            SwingUtil.layoutToGrid(infoPanel.getSwingComponent(), 7, 1, SwingUtil.WEIGHT_NONE, 0);
            SwingUtil.layoutToGrid(buttonPane.getSwingComponent(), 1, buttonPane.getContentPanel().getComponentCount(),SwingUtil.WEIGHT_NONE,0);
            getContentPane().add(infoPanel.getSwingComponent());
View Full Code Here

           
            SwingUtil.layoutToGrid(infoPanel1.getSwingComponent(), 4, 1, SwingUtil.WEIGHT_NONE, 0);
            SwingUtil.layoutToGrid(infoPanel3.getSwingComponent(), 2, 2, SwingUtil.WEIGHT_NONE, 1);

            GridPanel infoPanel = new GridPanel();
            infoPanel.add(new JSeparator());
      infoPanel.add(infoPanel3);
            infoPanel.add(new JSeparator());
            infoPanel.add(infoPanel1);

            infoPanel.add(new JSeparator());
            infoPanel.add(infoPanel4);
           
            SwingUtil.layoutToGrid(infoPanel.getSwingComponent(), 6, 1, SwingUtil.WEIGHT_NONE, 0);
            SwingUtil.layoutToGrid(buttonPane.getSwingComponent(), 1, buttonPane.getContentPanel().getComponentCount(),SwingUtil.WEIGHT_NONE,0);
            getContentPane().add(infoPanel.getSwingComponent());
View Full Code Here

TOP

Related Classes of javax.swing.JSeparator$AccessibleJSeparator

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.