Package com.izforge.izpack.gui

Examples of com.izforge.izpack.gui.TwoColumnLayout


    }

    protected void init()
    {

        TwoColumnLayout layout;
        super.removeAll();
        uiElements.clear();

        // ----------------------------------------------------
        // get a locale database
        // ----------------------------------------------------
        try
        {
            // this.langpack = parent.langpack;

            String resource = LANG_FILE_NAME + "_" + idata.localeISO3;
            this.langpack = new LocaleDatabase(ResourceManager.getInstance().getInputStream(
                    resource));
        }
        catch (Throwable exception)
        {
            exception.printStackTrace();
        }

        // ----------------------------------------------------
        // read the specifications
        // ----------------------------------------------------
        try
        {
            readSpec();
        }
        catch (Throwable exception)
        {
            // log the problem
            exception.printStackTrace();
        }

        // ----------------------------------------------------
        // Set the topBuffer from the attribute. topBuffer=0 is useful
        // if you don't want your panel to be moved up and down during
        // dynamic validation (showing and hiding components within the
        // same panel)
        // ----------------------------------------------------
        int topbuff = 25;
        try
        {
            topbuff = Integer.parseInt(spec.getAttribute(TOPBUFFER));
        }
        catch (Exception ex)
        {
        }
        finally
        {
            layout = new TwoColumnLayout(10, 5, 30, topbuff, TwoColumnLayout.LEFT);
        }
        setLayout(layout);

        if (!haveSpec)
        {
View Full Code Here


        instanceNumber = instanceCount++;
        this.parentFrame = parent;

        // ----------------------------------------------------
        // ----------------------------------------------------
        TwoColumnLayout layout = new TwoColumnLayout(10, 5, 30, 25, TwoColumnLayout.LEFT);
        setLayout(layout);

        // ----------------------------------------------------
        // get a locale database
        // ----------------------------------------------------
View Full Code Here

        this.parentFrame = parent;

        gcp = new GeronimoConfigProcessor();
        // ----------------------------------------------------
        // ----------------------------------------------------
        layout = new TwoColumnLayout(10, 5, 30, 25, TwoColumnLayout.LEFT);
        setLayout(layout);

        // ----------------------------------------------------
        // get a locale database
        // ----------------------------------------------------
View Full Code Here

TOP

Related Classes of com.izforge.izpack.gui.TwoColumnLayout

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.