/[classpath]/classpath/java/awt/CheckboxMenuItem.java
ViewVC logotype

Diff of /classpath/java/awt/CheckboxMenuItem.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by mkoch, Thu Dec 30 19:02:06 2004 UTC revision 1.18 by craig, Fri Feb 11 22:22:55 2005 UTC
# Line 274  processItemEvent(ItemEvent event) Line 274  processItemEvent(ItemEvent event)
274  void  void
275  dispatchEventImpl(AWTEvent e)  dispatchEventImpl(AWTEvent e)
276  {  {
277      if (e instanceof ItemEvent)
278        {
279          synchronized (this)
280            {
281              state = (((ItemEvent) e).getStateChange() == ItemEvent.SELECTED);
282            }
283        }
284    
285    if (e.id <= ItemEvent.ITEM_LAST    if (e.id <= ItemEvent.ITEM_LAST
286        && e.id >= ItemEvent.ITEM_FIRST        && e.id >= ItemEvent.ITEM_FIRST
287        && (item_listeners != null        && (item_listeners != null

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26