TCLUG Development Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG-DEVEL:175] Absolute positioning in Java AWT?



Bob:

Don't know if this will help, but the Netbeans manual suggests something
like using Gridbag form to design, and then converting to [absolute] form
format.  (sorry, I don't have it here at work....)

gs

At 08:29 PM 3/14/00 -0600, you wrote:
>Does AWT allow for absolute positioning?
>
>I have a basic graphic and I want to put a TextField in the upper-right
corner
>of the graphic.
>
>No matter what I do I cannot force the TextField into the upper-right
corner. 
>
>I am using g.drawImage() to paint the graphic onto the component. I then try
>to add the TextField, but it always centers it no matter what Layout I use.
>
>This took me 5 minutes to do in X. I see why people complained about Java's
>GUI.
>-- 
>Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
>http://www.real-time.com                | Fax   : (612)943-8500
>Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-devel-unsubscribe@mn-linux.org
>For additional commands, e-mail: tclug-devel-help@mn-linux.org
>
>
>
******************************************
George Swan
Collection Development Support Unit	VOICE:	(612) 624-5860
Room 170B, Wilson Library			FAX:	(612) 626-9353
University of Minnesota Libraries		g-swan@tc.umn.edu
309 19th Avenue South			cdm-web@tc.umn.edu
Minneapolis, MN 55455			colldev@tc.umn.edu
USA						http://www.lib.umn.edu/cdm/