FileDocCategorySizeDatePackage
buttonorient.javaAPI DocExample1274Mon Mar 24 02:03:40 GMT 1997None

buttonorient

public class buttonorient extends Applet

Fields Summary
sun.awt.OrientableFlowLayout
ofl
Constructors Summary
Methods Summary
public booleanaction(java.awt.Event e, java.lang.Object o)

        ofl.orientHorizontally();
        validate();
	  return false;
    
public voidinit()

        setLayout (ofl = new OrientableFlowLayout(OrientableFlowLayout.VERTICAL));
System.out.println (ofl);
        add (new Button ("North"));
        add (new Button ("South"));
        add (new Button ("West"));
        add (new Button ("East"));
        add (new Button ("Center"));
        add (new Button ("North"));
        add (new Button ("South"));
        add (new Button ("West"));
        add (new Button ("East"));
        add (new Button ("Center"));
        add (new Button ("North"));
        add (new Button ("South"));
        add (new Button ("West"));
        add (new Button ("East"));
        add (new Button ("Center"));