Examples of BorderContainer


Examples of buoy.widget.BorderContainer

public class AboutDialog extends BDialog {
    private Preferences preferences = Preferences.userNodeForPackage( NtrViewer.class );

    public AboutDialog() {
        String version = preferences.get("version","0.01");
        BorderContainer mainPane = new BorderContainer();
        mainPane.setDefaultLayout( new LayoutInfo(LayoutInfo.CENTER, LayoutInfo.NONE, new Insets(5,5,5,5), null));
        String htmlText = "<html><body>" +
                "<span style=\"font-size:110%; text-decoration: underline;\">NtrViewer v. " + version + "</span><br><br>" +
                "NtrViewer is a part of<br>" +
                "a parallel programming<br>" +
                "language Parus.<br><br>" +
                "NtrViewer has been written<br>" +
                "in 100% pure Java<br>" +
                "by Sergey Nebolsin.<br><br>" +
                "© Sergey Nebolsin, 2006" +
                "</body></html>";
        mainPane.add( new BLabel(htmlText), BorderContainer.CENTER );

        BLabel logo = new BLabel( ResourceManager.loadIconFromFile("logo.png") );
        mainPane.add(logo, BorderContainer.WEST );

        this.addEventLink( MousePressedEvent.class, this, "doClose" );
        this.addEventLink( WindowClosingEvent.class, this, "doClose" );
        this.setTitle( "About Parus / NtrViewer");
        this.setContent( mainPane );
View Full Code Here

Examples of com.googlecode.jumpnevolve.graphics.gui.container.BorderContainer

      selectList.addButton(new InterfaceButton(obj,
          obj.editorSkinFileName));
    }

    // BorderContainer für die Oberfläche erstellen und befüllen
    BorderContainer border = new BorderContainer();
    border.maximizeSize();

    border.add(selectList, BorderContainer.POSITION_LOW_LEFT);
    border.add(this.settingsDialog, BorderContainer.POSITION_MIDDLE);
    border.add(this.playerDialog, BorderContainer.POSITION_MIDDLE);
    border.add(this.objectSettingsPlace, BorderContainer.POSITION_MIDDLE);
    border.add(this.dataDialog, BorderContainer.POSITION_MIDDLE);
    border.add(this.exitDialog, BorderContainer.POSITION_MIDDLE);
    border.add(deleteButton, BorderContainer.POSITION_LOW_RIGHT);

    // HeadlineContainer als übergeordneten Container erstellen, beinhaltet
    // die Kopfzeile und borderContainer
    HeadlineContainer headCon = new HeadlineContainer(topGrid, border);
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.