setLayout (new CornerLayout2());
add (new Button ("Northwest"), "Northwest");
add (new Button ("Northeast"), "Northeast");
add (new Button ("Southwest"), "Southwest");
add (new Button ("Southeast"), "Southeast");
add (new Button ("Center"), "Center");
resize(preferredSize());
System.out.println (new CornerLayout2());