This appears to work correctly now; I am getting someone to test in the "real" 
environment.  Thanks for the suggestion.    I had previously tried moving the
"toFront()" down before but never in conjunction with the "requestFocus()".

Thanks,
Cindy


Niek Ederveen wrote:

> Hi Cynthia,
>
> Changing the command sequence did the trick for me (NT 4.00.1381):
>
>       frame.getContentPane().add(button, BorderLayout.SOUTH);
>       frame.setBounds(0, 0, 200, 200);
> //      frame.toFront();
>
>       frame.setVisible(true);
>       frame.requestFocus();
>       frame.toFront();
>
> Hope this helps,
>
> Niek
>
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Pinpoint the right security solution for your company- Learn how to add 128- bit 
>encryption and to authenticate your web site with VeriSign's FREE guide!
> http://us.click.yahoo.com/yQix2C/33_CAA/yigFAA/saFolB/TM
> ---------------------------------------------------------------------~->
>
> http://www.bobrow.net/kimberly/JavaSummit for info on subscribing/unsubscribing
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to