@Override
                public void mouseClicked(MouseEvent e) {
                    if (e.getClickCount() == 2 && selectedClass != null) {
                        startApp(selectedClass);
                    }
                }
Code to create components and action listeners.

@param classes
           what Classes to show in the list box
jme3-examples/src/main/java/jme3test/TestChooser.java