Package org.jdesktop.swingx

Examples of org.jdesktop.swingx.JXRootPane$XRootLayout


    public void splash()
    {
        frame = new JXFrame();
        frame.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    frame.setUndecorated(true);
        frame.setRootPane(new JXRootPane());
        frame.getRootPaneExt().setDoubleBuffered(true);
        frame.getRootPaneExt().setBackground(new Color(255,255,255,255));
        frame.getRootPaneExt().setOpaque(false);
      frame.getContentPane().add(createContentPane());
    frame.pack();
View Full Code Here


        } else {
            releaseFindBar();
        }
        Window topLevel = SwingUtilities.getWindowAncestor(target);
        if (topLevel instanceof JXFrame) {
            JXRootPane rootPane = ((JXFrame) topLevel).getRootPaneExt();
            JToolBar toolBar = rootPane.getToolBar();
            if (toolBar == null) {
                toolBar = new JToolBar();
                rootPane.setToolBar(toolBar);
            }
            toolBar.add(findBar, 0);
            rootPane.revalidate();
            KeyboardFocusManager.getCurrentKeyboardFocusManager().focusNextComponent(findBar);
           
        }
        lastFindBarTarget = target;
        findBar.setLocale(target.getLocale());
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.JXRootPane$XRootLayout

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.