At 09:19 PM 11/26/2001 -0800, Ken Miller wrote:
>I am using a JDesktop and creating several JInternalFrames inside it. The
>problem I seem to be having is that I can't seem to control the placement of
>the JInternalFrames. When I create them and pass BorderLayout.CENTER the
>window is still placed at the top left of the desktop.
BorderLayout.CENTER?
What's wrong with setLocation(x,y)?
>Also when I try to bring a new JInternalFrame to the from by calling
><name>.toFront(), the JInternalFrame is still at the back of the frames. I
>am trying to find out why the toFront() doesn't seem to work the way
>expected. Any ideas?
foobar.moveToFront()
You sure you compiled your program?
Frank G.
+======================================================================+
| Crossroads Technologies Inc, 55 Broad Street, 28th Fl, NYC, NY 10004 |
| Enterprise Java Engineering |
| Email: [EMAIL PROTECTED] Web: www.CrossroadsTech.com |
| Pager: 800-495-6244 ePager: [EMAIL PROTECTED] |
| Voice: 212-482-5280 x229 Fax: 212-482-5281 |
+======================================================================+
_______________________________________________
Advanced-swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/advanced-swing