[2502] in java-interest
Re: setting Insets in a Container
daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Tue Oct 3 18:42:22 1995
Date: Tue, 3 Oct 1995 13:04:55 -0700
From: Arthur.Vanhoff@Eng.Sun.COM (Arthur van Hoff)
To: paley_brad@jpmorgan.com
Cc: java-interest@java.Eng.Sun.COM
Hi Brad,
> I can't see any way to set Inset values in Containers; can I?
You can specify the insets by overriding the insets() method:
public Insets insets() {
return new Insets(top, left, bottom, right);
}
Have fun,
Arthur van Hoff
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com