Searched defs:menuChangeListener (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DJMenu.java128 private ChangeListener menuChangeListener = null; field in class:JMenu
266 if (oldModel != null && menuChangeListener != null) {
267 oldModel.removeChangeListener(menuChangeListener);
268 menuChangeListener = null;
274 menuChangeListener = createMenuChangeListener();
275 newModel.addChangeListener(menuChangeListener);

Completed in 128 milliseconds