setLayout (new BorderLayout ()); add ("Center", new Button ("Insets"));
return new Insets (50, 50, 50, 50);
Insets i = insets(); int width = size().width - i.left - i.right; int height = size().height - i.top - i.bottom; g.drawRect (i.left-2, i.top-2, width+4, height+4); g.drawString ("Insets Example", 25, size().height - 25);