/[classpath]/classpath/javax/swing/JOptionPane.java
ViewVC logotype

Diff of /classpath/javax/swing/JOptionPane.java

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

revision 1.15 by rabbit78, Thu Jul 21 11:53:58 2005 UTC revision 1.16 by rschuster, Tue Sep 13 23:23:40 2005 UTC
# Line 1  Line 1 
1  /* JOptionPane.java  /* JOptionPane.java
2     Copyright (C) 2004 Free Software Foundation, Inc.     Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 858  public class JOptionPane extends JCompon Line 858  public class JOptionPane extends JCompon
858     */     */
859    public static int showConfirmDialog(Component parentComponent, Object message)    public static int showConfirmDialog(Component parentComponent, Object message)
860    {    {
861      JOptionPane pane = new JOptionPane(message);      JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE);
862      JDialog dialog = pane.createDialog(parentComponent, "Select an Option");      JDialog dialog = pane.createDialog(parentComponent, "Select an Option");
863    
864      dialog.pack();      dialog.pack();

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

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