Examples of MultiLineLabel


Examples of com.drakulo.games.ais.ui.component.MultilineLabel

    parent.add(terrabotButton);
    buttons.add(terrabotButton);

    y += ImageButton.IB_DEFAULT_SIZE + 25;
    x = getOX() + PADDING * 2;
    descLabel = new MultilineLabel("");
    descLabel.hide();
    descLabel.setPosition(x, y);
    descLabel.setSize(getWidth() - 4 * PADDING, 50);
    parent.add(descLabel);

View Full Code Here

Examples of com.izforge.izpack.util.MultiLineLabel

     * @param pos    horizontal alignment
     * @return the created multi line label
     */
    public MultiLineLabel createMultiLineLabel(String text, String iconId, int pos)
    {
        MultiLineLabel mll = null;
        mll = new MultiLineLabel(text, 0, 0);
        if (mll != null)
        {
            mll.setFont(getControlTextFont());
        }
        return (mll);
    }
View Full Code Here

Examples of com.izforge.izpack.util.MultiLineLabel

    // We load the information about which packages require this license
    loadPackList();

    // We put our components
    headerArea = new MultiLineLabel("");
    headerArea.setAlignmentX(LEFT_ALIGNMENT);
    add(headerArea);

    subpanel = new JPanel();
    subpanel.setAlignmentX(LEFT_ALIGNMENT);
View Full Code Here

Examples of com.izforge.izpack.util.MultiLineLabel

                    {
                        justify = MultiLineLabel.RIGHT;
                    }
                }

                MultiLineLabel label = new MultiLineLabel(description, justify);

                uiElements.add(new Object[] { null, DESCRIPTION, null, constraints, label,
                        forPacks, forOs});
            }
        }
View Full Code Here

Examples of com.izforge.izpack.util.MultiLineLabel

                              // so skip it
                 //System.out.println("Element: " + i );
                 // all of the fields here are JLabels, so there's no
                 // need to check type. Also, they're all displayed,
                 // so there's no need to check POS_DISPLAYED
                 MultiLineLabel label = (MultiLineLabel)uiElement[ POS_FIELD ];
                 label.setText( msgs[ j ] );
                 ++j;
              }
           }
        }
View Full Code Here

Examples of com.izforge.izpack.util.MultiLineLabel

                    {
                        justify = MultiLineLabel.RIGHT;
                    }
                }

                MultiLineLabel label = new MultiLineLabel(description, justify);

                uiElements.add(new Object[] { suppress, null, DESCRIPTION, null, constraints, label,
                        forPacks, forOs});
            }
        }
View Full Code Here

Examples of com.jcloisterzone.ui.component.MultiLineLabel

    JLabel version = new JLabel(_("Version") + ": " + Application.VERSION + " (" + Application.BUILD_DATE + ")");
    version.setBounds(167, 77, 235, 21);
    contentPanel.add(version);

    MultiLineLabel license = new MultiLineLabel(_("Distributed under the terms of GNU Affero General Public License version 3"));
    license.setBounds(167, 123, 235, 37);
    license.setRows(3);
    contentPanel.add(license);

    JLabel lblAuthor = new JLabel("Roman KrejĨík <farin@farin.cz>");
    lblAuthor.setVerticalAlignment(SwingConstants.TOP);
    lblAuthor.setBounds(167, 98, 267, 26);
View Full Code Here

Examples of com.jidesoft.swing.MultilineLabel

     *
     * @return a MultilineLabel instance by default.
     * @since 3.4.2
     */
    protected JComponent createSubtitleLabel() {
        return new MultilineLabel(getSubtitle()) {
            private static final long serialVersionUID = -1609681547852636926L;

            @Override
            public Dimension getMinimumSize() {
                return new Dimension(0, 0);
View Full Code Here

Examples of com.jidesoft.swing.MultilineLabel

     
      getContentPane().setLayout(new BorderLayout());
      CollapsiblePanes panes = new CollapsiblePanes();

      CollapsiblePane descriptionPane = new CollapsiblePane("Using Filters");
      MultilineLabel label = new MultilineLabel(getDescription());
      label.setBorder(BorderFactory.createEmptyBorder(8, 10, 8, 10));
      descriptionPane.setContentPane(label);

      try
      {
         descriptionPane.setCollapsed(true);
View Full Code Here

Examples of com.mucommander.ui.text.MultiLineLabel

        if(icon!=null)
            setIcon(icon);

        YBoxPanel yPanel = new YBoxPanel(5);

        mainLabel = new MultiLineLabel(mainMessage);
        if(mainMessageFontStyle!=Font.PLAIN)
            setMainLabelFontStyle(mainMessageFontStyle);
        yPanel.add(mainLabel);

        yPanel.addSpace(5);

        captionLabel = new MultiLineLabel(captionMessage);
        Font labelFont = mainLabel.getFont();
        captionLabel.setFont(labelFont.deriveFont(Font.PLAIN, labelFont.getSize()-2));
        yPanel.add(captionLabel);

        add(yPanel, BorderLayout.CENTER);
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.