/[classpath]/classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicOptionPaneUI.java

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

revision 1.4 by egagnon, Sun Aug 11 20:08:43 2002 UTC revision 1.5 by mkoch, Sat Jun 7 18:38:20 2003 UTC
# Line 64  public class BasicOptionPaneUI extends O Line 64  public class BasicOptionPaneUI extends O
64    
65          System.out.println("     -------------: " + pane);          System.out.println("     -------------: " + pane);
66    
67          JLabel  message   = pane.msg != null ? new JLabel((String)pane.msg) : null;          JLabel  message   = null;
68          JButton ok_button = new JButton("Ok");            JButton ok_button = new JButton("Ok");  
69    
70          ok_button.addActionListener(new ActionListener()          ok_button.addActionListener(new ActionListener()
# Line 83  public class BasicOptionPaneUI extends O Line 83  public class BasicOptionPaneUI extends O
83                  }                  }
84              });              });
85    
86          if (pane.args != null)          Object[] options = null;
87            if (options != null)
88              {              {
89                  for (int i=0; i<pane.args.length; i++)                  for (int i=0; i<options.length; i++)
90                      {                      {
91                          Object o = pane.args[i];                          Object o = options[i];
92                          if (o != null)                          if (o != null)
93                              {                              {
94                                  if (o instanceof String)                                  if (o instanceof String)

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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