[4025] in java-interest

home help back first fref pref prev next nref lref last post

AWT layouts

daemon@ATHENA.MIT.EDU (R.Volkmann)
Thu Dec 7 21:26:38 1995

Date: Thu, 7 Dec 95 16:22:11 -0600
From: "R.Volkmann" <m224873@ws1768.mdc.com>
To: java-interest@java.Eng.Sun.COM
Reply-To: "R. Mark Volkmann"<m224873@svmstr01.mdc.com>

It's easy to layout components with varying sizes horizontally on one row,

    public void init() {
	frame.setLayout(new FlowLayout(FlowLayout.LEFT));
    }

but how do you do it vertically?  Hopefully it doesn't require more code
that doing it horizontally.

Is there a way to resize a frame to the size that would make all components
on the frame visible without specifying an explicit size in a call to resize? 

|------------------------------------------------------------|
| R. Mark Volkmann - Principal Specialist Programmer/Analyst |
| McDonnell Douglas Aerospace, St. Louis, Missouri, USA      |
| email m224873@svmstr01.mdc.com, voice (314)232-0498        |
|------------------------------------------------------------|
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post