public void setFilter(String filter) {
            this.filter = filter.toLowerCase();
            update();
        }
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