Package org.openbp.swing.layout

Examples of org.openbp.swing.layout.VerticalFlowLayout


  // @@ init
  //////////////////////////////////////////////////

  protected void initializeComponents()
  {
    JPanel panel = new JPanel(new VerticalFlowLayout());
    panel.setBorder(new EmptyBorder(5, 5, 5, 5));

    String text = getText();
    if (text != null)
    {
View Full Code Here


        JComponent filterComponent = filter.getConfigurationComponent();
        if (filterComponent != null)
        {
          if (configPane == null)
          {
            configPane = new JPanel(new VerticalFlowLayout(VerticalFlowLayout.TOP, 0, 0, true, false));
            configPane.setBackground(SkyTheme.COLOR_BACKGROUND_LIGHT);
            configPane.setVisible(false);
          }

          // Initially invisible
View Full Code Here

    JTextField t2 = new JTextField();
    t2.setText((String) mo.getDesignTimeAttribute(TEST_PARAM2));
    p2.add(l2, BorderLayout.WEST);
    p2.add(t2, BorderLayout.CENTER);

    JPanel pMain = new JPanel(new VerticalFlowLayout());
    pMain.add(p1);
    pMain.add(p2);

    dialog.getMainPane().add(pMain);
View Full Code Here

      {
        start();
      }
    });

    settingsPanel = new JPanel(new VerticalFlowLayout());

    JPanel modePanel = createModePanel();
    JPanel outputDirPanel = createOutputDirPanel();

    settingsPanel.add(modePanel);
View Full Code Here

    // The width of the help text should not be more than the chooser width.
    // The height is computed by the JTextArea based on the number of rows needed for the text.
    Dimension chooserSize = chooserPanel.getPreferredSize();
    helpTextArea.setPreferredSize(new Dimension(chooserSize.width, 0));

    mainPanel = new JPanel(new VerticalFlowLayout(VerticalFlowLayout.TOP, 0, 0, true, false));
    mainPanel.add(chooserPanel);
    mainPanel.add(helpTextArea);
    setComponentBackground(mainPanel, SkyTheme.COLOR_BACKGROUND_LIGHT);

    // Wrap it all in a scroll pane because the chooser requires at least a height of 256
View Full Code Here

   */
  private void createUI(String msg)
  {
    // We use an extra JPanel as contentpane
    JPanel content = new JPanel();
    content.setLayout(new VerticalFlowLayout());
    content.setBorder(OUTER_BORDER);

    // The standard panel contains the icon and the message
    JPanel standardPanel = new JPanel(new BorderLayout());
    standardPanel.setBorder(ETCHED_BORDER);
View Full Code Here

   * Private constructor.
   */
  private TestJSelectionField()
  {
    super("JSelectionField Test");
    getContentPane().setLayout(new VerticalFlowLayout());

    setDefaultCloseOperation(EXIT_ON_CLOSE);

    setLocation(200, 200);
    setSize(300, 300);
View Full Code Here

TOP

Related Classes of org.openbp.swing.layout.VerticalFlowLayout

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.