In my last commit I forgot to adjust the JOptionPane to the new SwingUtilities.getOwnerFrame() signature. This is done by this patch.
2006-01-19 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/JOptionPane.java Added cast to Frame for JDialog constructor. /Roman
Index: javax/swing/JOptionPane.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/JOptionPane.java,v retrieving revision 1.24 diff -u -r1.24 JOptionPane.java --- javax/swing/JOptionPane.java 19 Jan 2006 21:25:22 -0000 1.24 +++ javax/swing/JOptionPane.java 19 Jan 2006 22:28:36 -0000 @@ -236,7 +236,7 @@ protected boolean wantsInput; /** The common frame used when no parent is provided. */ - private static Frame privFrame = SwingUtilities.getOwnerFrame(null); + private static Frame privFrame = (Frame) SwingUtilities.getOwnerFrame(null); /** * Creates a new JOptionPane object using a message of "JOptionPane
_______________________________________________ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches