button3.setVisible( false );
    protected void createSwingStuff() {        final JDesktopPane desktopPane = jmeDesktop.getJDesktop();        desktopPane.removeAll();        createSwingInternalFrame( desktopPane, "My Frame 1", 10, 150 );        createSwingInternalFrame( desktopPane, "My Frame 2", 20, 300 );        createSwingInternalFrame( desktopPane, null, 400, 350 );        final JButton button3 = new JButton( "more stuff" );        button3.setLocation( 300, 100 );        button3.setSize( button3.getPreferredSize() );        desktopPane.add( button3 );        button3.addActionListener( new ActionListener() {            public void actionPerformed( ActionEvent e ) {                createMoreSwingStuff();            }        } );        final JButton buttonToggleMouse = new JButton( "toggle system/custom cursor" );        buttonToggleMouse.setLocation( 300, 70 );        buttonToggleMouse.setSize( buttonToggleMouse.getPreferredSize() );        desktopPane.add( buttonToggleMouse );        buttonToggleMouse.addActionListener( new JMEAction( "toggle mouse", input ) {            public void performAction( InputActionEvent evt ) {                if ( MouseInput.get().isCursorVisible() ) {                    // switch to custom mouse                    // hide system cursor                    MouseInput.get().setCursorVisible( false );                    // show custom cursor                    cursor.setCullMode( Spatial.CULL_NEVER );                }                else {                    // switch to system mouse                    // hide custom cursor                    cursor.setCullMode( Spatial.CULL_ALWAYS );                    // show system cursor                    MouseInput.get().setCursorVisible( true );                }            }        } );        buttonToggleMouse.setMnemonic( 'm' );        final JLabel label = new JLabel( "click scene to steer view (WASD+Arrows)" );        label.setSize( label.getPreferredSize() );        label.setLocation( display.getWidth() - (int) label.getSize().getWidth() - 10, 10 );        desktopPane.add( label );        moreStuffCreated = false;        final JButton themeButton = new JButton( "change l&f" );        themeButton.setLocation( 10, 400 );        themeButton.setSize( themeButton.getPreferredSize() );        desktopPane.add( themeButton );        themeButton.addActionListener( new ActionListener() {            public void actionPerformed( ActionEvent e ) {                jmeDesktop.getJDesktop().removeAll();                switchLookAndFeelAndCreateSwingStuff( theme + 1 );            }        } );        JButton fullScreenButton = new JButton( "<html><big>toggle fullscreen</big></html>" );        fullScreenButton.setSize( fullScreenButton.getPreferredSize() );        fullScreenButton.setLocation( ( display.getWidth() - fullScreenButton.getWidth() ) / 2,                display.getHeight() - 40 - fullScreenButton.getHeight() / 2 );        desktopPane.add( fullScreenButton );        fullScreenButton.addActionListener( new ActionListener() {            public void actionPerformed( ActionEvent e ) {                if ( desktopNode.getRenderQueueMode() == Renderer.QUEUE_ORTHO ) {                    perspective();                }                else {                    fullScreen();                }            }        } );        createRotateButton( desktopPane, 0.25f );        createRotateButton( desktopPane, -0.25f );        createRotateButton( desktopPane, 0.15f );        createRotateButton( desktopPane, -0.15f );        createRotateButton( desktopPane, 0.45f );        createRotateButton( desktopPane, -0.45f );        createEditorPane();        desktopPane.repaint();        desktopPane.revalidate();    }