/[classpath]/classpath/examples/gnu/classpath/examples/swing/Demo.java
ViewVC logotype

Diff of /classpath/examples/gnu/classpath/examples/swing/Demo.java

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

revision 1.3 by mkoch, Sat Sep 4 16:55:52 2004 UTC revision 1.4 by mark, Sat Sep 4 20:31:20 2004 UTC
# Line 669  public class Demo Line 669  public class Demo
669      return close;      return close;
670    }    }
671    
672      public static JColorChooser mkColorChooser()
673      {
674        return new JColorChooser();
675      }
676    
677    private static class PopUpAction    private static class PopUpAction
678      implements ActionListener      implements ActionListener
679    {    {
# Line 758  public class Demo Line 763  public class Demo
763                      mkTextField("Hello, World!"),                      mkTextField("Hello, World!"),
764                      panel);                      panel);
765    
766        new PopUpAction("ColorChooser",
767                        mkColorChooser(),
768                        panel);
769    
770      JButton exitDisposer = mkDisposerButton(frame);      JButton exitDisposer = mkDisposerButton(frame);
771      panel.add(exitDisposer);      panel.add(exitDisposer);
772    

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

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