/[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.1.2.8 by gnu_andrew, Sat Sep 10 15:31:35 2005 UTC revision 1.1.2.9 by gnu_andrew, Tue Sep 20 18:46:22 2005 UTC
# Line 640  public class Demo Line 640  public class Demo
640      panel.add(but, BorderLayout.NORTH);      panel.add(but, BorderLayout.NORTH);
641      but.doClick();      but.doClick();
642      but.doClick();      but.doClick();
643        JInternalFrame palette = new JInternalFrame("Palette", true, true, true,
644            true);
645        palette.putClientProperty("JInternalFrame.isPalette", Boolean.TRUE);
646        desk.add(palette, JDesktopPane.PALETTE_LAYER);
647        JLabel label = new JLabel("This is a floating palette!");
648        palette.getContentPane().add(label);
649        palette.pack();
650        palette.setVisible(true);
651      return panel;      return panel;
652    }    }
653    

Legend:
Removed from v.1.1.2.8  
changed lines
  Added in v.1.1.2.9

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