This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: Patch: javax.swing.plaf.basic


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,


I commited the attached patch to trunk to add some missing methods.


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE++ScoWSOgCCdjSDsRAgteAJ9H5PRo0HKl75YPE+22FRqLq+suIQCeIuyI
UiVEifJ0bpj4QcvVRTmMzS4=
=JdbE
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1990
diff -u -b -B -r1.1990 ChangeLog
--- ChangeLog	25 Jun 2003 04:16:16 -0000	1.1990
+++ ChangeLog	25 Jun 2003 04:33:16 -0000
@@ -1,5 +1,11 @@
 2003-06-25  Michael Koch  <konqueror@gmx.de>
 
+	* javax/swing/plaf/basic/BasicListUI.java,
+	javax/swing/plaf/basic/BasicOptionPaneUI.java:
+	Added missing methods.
+
+2003-06-25  Michael Koch  <konqueror@gmx.de>
+
 	* javax/swing/event/AncestorEvent.java
 	javax/swing/event/HyperlinkEvent.java
 	javax/swing/event/InternalFrameEvent.java
Index: javax/swing/plaf/basic/BasicListUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicListUI.java,v
retrieving revision 1.2
diff -u -b -B -r1.2 BasicListUI.java
--- javax/swing/plaf/basic/BasicListUI.java	10 May 2003 08:14:36 -0000	1.2
+++ javax/swing/plaf/basic/BasicListUI.java	25 Jun 2003 04:33:16 -0000
@@ -159,12 +159,19 @@
 		a.y += dim.height + gap_between_cells;
 	    }
     }
-}
-
-
-
-
-
-
-
 
+  public int locationToIndex(JList list, Point location)
+  {
+    throw new Error ("Not implemented");
+  }
+
+  public Point indexToLocation(JList list, int index)
+  {
+    throw new Error ("Not implemented");
+  }
+
+  public Rectangle getCellBounds(JList list, int index1, int index2)
+  {
+    throw new Error ("Not implemented");
+  }
+}
Index: javax/swing/plaf/basic/BasicOptionPaneUI.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/plaf/basic/BasicOptionPaneUI.java,v
retrieving revision 1.4
diff -u -b -B -r1.4 BasicOptionPaneUI.java
--- javax/swing/plaf/basic/BasicOptionPaneUI.java	6 Jun 2003 06:21:02 -0000	1.4
+++ javax/swing/plaf/basic/BasicOptionPaneUI.java	25 Jun 2003 04:33:16 -0000
@@ -139,4 +139,14 @@
 
 	return d2;
     }
+
+  public void selectInitialValue(JOptionPane op)
+  {
+     throw new Error ("Not implemented");
+  }
+
+  public boolean containsCustomComponents(JOptionPane op)
+  {
+     throw new Error ("Not implemented");
+  }
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]