Package slash.navigation.converter.gui.actions

Examples of slash.navigation.converter.gui.actions.MergePositionListAction.dispose()


            public void intervalRemoved(ListDataEvent e) {
                for (int i = e.getIndex1(); i >= e.getIndex0(); i--) {
                    JMenuItem menuItem = i < menu.getMenuComponentCount() ? (JMenuItem) menu.getMenuComponent(i) : null;
                    if (menuItem != null) {
                        MergePositionListAction action = (MergePositionListAction) menuItem.getAction();
                        action.dispose();
                        menuItem.setAction(null);
                    }
                    menu.remove(i);
                }
                menu.setEnabled(formatAndRoutesModel.getSize() > 1);
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.