FileDocCategorySizeDatePackage
DateBeanApp.javaAPI DocExample1705Sat Sep 12 03:01:00 BST 1998borland.samples.beans.customizer

DateBeanApp

public class DateBeanApp extends Object

Fields Summary
boolean
packFrame
Constructors Summary
public DateBeanApp()


  //Construct the application
    
    TestFrame frame = new TestFrame();
    //Validate frames that have preset sizes
    //Pack frames that have useful preferred size info, e.g. from their layout
    if (packFrame)
      frame.pack();
    else
      frame.validate();
    frame.setVisible(true);
  
Methods Summary
public static voidmain(java.lang.String[] args)

    try  {
      UIManager.setLookAndFeel(new com.sun.java.swing.plaf.windows.WindowsLookAndFeel());
      //UIManager.setLookAndFeel(new com.sun.java.swing.plaf.motif.MotifLookAndFeel());
    }
    catch (Exception e) {
    }
    new DateBeanApp();