FileDocCategorySizeDatePackage
GrowBoxDemo.javaAPI DocExample622Mon Jan 09 11:02:00 GMT 2006None

GrowBoxDemo

public class GrowBoxDemo extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

        System.setProperty ("apple.awt.showGrowBox", "true");
    
        JFrame frame = new JFrame ("Grow Box Demo");
        JTextField field =
            new JTextField ("Intruder Alert! Intruder Alert!");
        frame.getContentPane().add (field, BorderLayout.CENTER);
        frame.getContentPane().add (Box.createVerticalStrut(15), 
                                    BorderLayout.SOUTH);
        frame.pack();
        frame.setVisible(true);