Examples of BorderLayout


Examples of charva.awt.BorderLayout

    }

    public JFrame(String title_) {
        super(title_);
        this.add(_contentPane);
        _contentPane.setLayout(new BorderLayout());
    }
View Full Code Here

Examples of com.ardor3d.extension.ui.layout.BorderLayout

        pLogin.add(btLogin);
        return pLogin;
    }

    private UIPanel makeChatPanel() {
        final UIPanel chatPanel = new UIPanel(new BorderLayout());
        final UIPanel bottomPanel = new UIPanel(new BorderLayout());
        bottomPanel.setLayoutData(BorderLayoutData.SOUTH);
        final UILabel dirLabel = new UILabel("Sample chat.  Try using markup like [b]text[/b]:");
        dirLabel.setLayoutData(BorderLayoutData.NORTH);
        final UITextArea historyArea = new UITextArea();
        historyArea.setStyledText(true);
View Full Code Here

Examples of com.codename1.ui.layouts.BorderLayout

        }
      };
      form.addCommand(cancel);
      form.setBackCommand(cancel);
    }
    form.setLayout(new BorderLayout());
    form.addComponent(BorderLayout.CENTER, webBrowser);
    form.show();
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.widget.layout.BorderLayout

  private RoomChatWindow(final String roomJid,final XmppRoom room)
  {
    this.jid = roomJid;
    this.room = room;
   
    setLayout(new BorderLayout());
    setClosable(true);
    setCloseAction(CloseAction.HIDE);
    setWidth(550);
    setHeight(300);
    updateCaption();
View Full Code Here

Examples of com.gwtext.client.widgets.layout.BorderLayout

    }

    private void setUpMain(BookmarkInfo bi) {

        mainPanel = new Panel();
        mainPanel.setLayout(new BorderLayout());
        mainPanel.setMargins(0, 0, 0, 0);

        BorderLayoutData northLayoutData = new BorderLayoutData(RegionPosition.NORTH);
        northLayoutData.setMargins(0, 0, 0, 0);
View Full Code Here

Examples of com.sun.dtv.lwuit.layouts.BorderLayout

        keyboardComponent.setFocusable(true);
        editableTextArea = new EditableTextArea(this, textArea);
        editableTextArea.setFocusable(false);

        // Add subcomponents to the form
        setLayout(new BorderLayout());
        addComponent(BorderLayout.CENTER, editableTextArea);
        addComponent(BorderLayout.SOUTH, keyboardComponent);

        // Create commands
        okCommand = new Command("Ok");
View Full Code Here

Examples of com.sun.lwuit.layouts.BorderLayout

        private Label pic = new Label("");
        private int display_width;
        private Label focus = new Label("");
       
        public ContactsRenderer() {
            setLayout(new BorderLayout());
            addComponent(BorderLayout.WEST, pic);
            Container cnt = new Container(new BoxLayout(BoxLayout.Y_AXIS));
            name.getStyle().setBgTransparency(0);
            name.getStyle().setFont(Font.createSystemFont(Font.FACE_SYSTEM, Font.STYLE_BOLD, Font.SIZE_MEDIUM));
            name.getStyle().setFgColor(0xF1F57C);
View Full Code Here

Examples of java.awt.BorderLayout

    setLocationRelativeTo(getParent());

    JPanel contentPanel = new JPanel();
    contentPanel.setLayout(new GridLayout(1, 2, 10, 0));

    JPanel panelAdded = new JPanel(new BorderLayout());
    panelAdded.setBorder(BorderFactory.createTitledBorder(mLocalizer.msg("added", "New channels: {0}", mAddedList.size())));

    DefaultListModel listModel = new DefaultListModel();
    for (int i = 0; i < mAddedList.size(); i++) {
      listModel.addElement(mAddedList.get(i));
    }
    ChannelJList list = new ChannelJList(listModel);
    list.setCellRenderer(new ChannelListCellRenderer(true, true));

    panelAdded.add(new JScrollPane(list), BorderLayout.CENTER);

    JPanel panelDeleted = new JPanel(new BorderLayout());
    panelDeleted.setBorder(BorderFactory.createTitledBorder(mLocalizer.msg("deleted", "Removed channels: {0}", mDeletedList.size())));

    listModel = new DefaultListModel();
    for (int i = 0; i < mDeletedList.size(); i++) {
      listModel.addElement(mDeletedList.get(i));
View Full Code Here

Examples of java.awt.BorderLayout

public class DateChooserPanel extends JPanel {
 
  public DateChooserPanel(MainFrame parent, JComponent finderPanel) {
    setOpaque(false);
    setLayout(new BorderLayout(0,7));
   
    add(finderPanel,BorderLayout.CENTER);
  }
View Full Code Here

Examples of java.awt.BorderLayout

    pack();
    setVisible(true);
}

protected void buildWindow() {
    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(questionPanel(), BorderLayout.NORTH);
    getContentPane().add(editPanel(), BorderLayout.CENTER);
    getContentPane().add(buttonPanel(), BorderLayout.SOUTH);

    addWindowListener(new WindowAdapter() {
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.