Package org.apache.pivot.wtk

Examples of org.apache.pivot.wtk.Window.open()


            // Load the Pivot UI
            private void loadBXML(final Display display, final double weight) {
                try {
                    Window window = (Window) new BXMLSerializer().readObject(this.getClass().getResource(
                        "splash.bxml"));
                    window.open(display);
                    progressOverlay.increment(weight);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
View Full Code Here


        } catch (SerializationException exception) {
            throw new RuntimeException(exception);
        }

        // Open the Pivot window on the display
        window.open(displayHost.getDisplay());

        // Open and select the internal frame
        internalFrame.setLocation(240, 100);
        internalFrame.setSize(480, 360);
        internalFrame.setVisible(true);
View Full Code Here

                Window window = new Window();
                window.setTitle("New Secondary Window");
                window.setMaximized(true);
                window.setContent(new Label("I am a secondary window!"));
                window.open(display);
            }
        });

        sheet.getWindowStateListeners().add(new WindowStateListener.Adapter() {
            @Override
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.