[2977] in java-interest

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

laying out awt widgets

daemon@ATHENA.MIT.EDU (Jim Sanders)
Tue Oct 24 19:52:16 1995

Date: Tue, 24 Oct 1995 14:06:11 -0700
From: jsanders@excelsior-73.Eng.Sun.COM (Jim Sanders)
To: java-interest@java.Eng.Sun.COM

Ever try to write a stand alone java application
and get various widgets to layout the way you'd like them within
Panels and Frames?

For example, I'd like be able to do this, where
check boxes and their labels are aligned in 2 columns:

	[] This is the checkbox label
	[] All checkboxes and labels are aligned
	[] How can I do this
	[] The layouts I've tried don't allow me to align widgets
	   so that I can create a layout just like this.

Any idea how to accomplish this kind of 
layout in java's awt (windowing toolkit) ?

Another example is aligning text fields and labels like this:

              My text field label: _____________________
                    Another label: _______________________
Yet another right justified label: ______________________

	-Jim



	  

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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