This patch (committed) marks some stub methods in JMenu.java:

2006-04-19  David Gilbert  <[EMAIL PROTECTED]>

        * javax/swing/JMenu.java
        (getAccessibleChildrenCount): Marked as stub,
        (getAccessibleChild): Likewise,
        (getAccessibleSelection): Likewise,
        (getAccessibleSelection(int)): Likewise,
        (isAccessibleChildSelected): Likewise,
        (getAccessibleSelectionCount): Likewise,
        (addAccessibleSelection): Likewise,
        (removeAccessibleSelection): Likewise,
        (clearAccessibleSelection): Likewise,
        (selectAllAccessibleSelection): Likewise.

Regards,

Dave
Index: javax/swing/JMenu.java
===================================================================
RCS file: /sources/classpath/classpath/javax/swing/JMenu.java,v
retrieving revision 1.25
diff -u -r1.25 JMenu.java
--- javax/swing/JMenu.java      8 Apr 2006 16:51:11 -0000       1.25
+++ javax/swing/JMenu.java      19 Apr 2006 09:24:09 -0000
@@ -1,5 +1,5 @@
 /* JMenu.java --
-   Copyright (C) 2002, 2004, 2005  Free Software Foundation, Inc.
+   Copyright (C) 2002, 2004, 2005, 2006  Free Software Foundation, Inc.
 
 This file is part of GNU Classpath.
 
@@ -38,6 +38,8 @@
 
 package javax.swing;
 
+import gnu.classpath.NotImplementedException;
+
 import java.awt.Component;
 import java.awt.Point;
 import java.awt.event.KeyEvent;
@@ -821,26 +823,31 @@
     }
 
     public int getAccessibleChildrenCount()
+      throws NotImplementedException
     {
       return 0;
     }
 
     public Accessible getAccessibleChild(int value0)
+      throws NotImplementedException
     {
       return null;
     }
 
     public AccessibleSelection getAccessibleSelection()
+      throws NotImplementedException
     {
       return null;
     }
 
     public Accessible getAccessibleSelection(int value0)
+      throws NotImplementedException
     {
       return null;
     }
 
     public boolean isAccessibleChildSelected(int value0)
+      throws NotImplementedException
     {
       return false;
     }
@@ -851,26 +858,31 @@
     }
 
     public int getAccessibleSelectionCount()
+      throws NotImplementedException
     {
       return 0;
     }
 
     public void addAccessibleSelection(int value0)
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
 
     public void removeAccessibleSelection(int value0)
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
 
     public void clearAccessibleSelection()
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }
 
     public void selectAllAccessibleSelection()
+      throws NotImplementedException
     {
       // TODO: Implement this properly.
     }

Reply via email to