Package com.izforge.izpack.util

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


    // 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

                    {
                        justify = MultiLineLabel.RIGHT;
                    }
                }

                MultiLineLabel label = new MultiLineLabel(description, justify);

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

                              // 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

                    {
                        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

TOP

Related Classes of com.izforge.izpack.util.MultiLineLabel

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.