hi guys.. i need some help on swing.. when my application starts i ask the user to enter hos choice on connection (local/remote) through a dialog box, but this dialog box comes at the left-top corner of my application. I want this dialog to come at the center of the screen . can anyone tell me what to do for that..
Joined: Mar 29, 2002
Hi Sid, Try to use setBounds(Rectangle) from JDialog. Horst.
Joined: Aug 21, 2001
Originally posted by Horst Dehmer: Hi Sid, Try to use setBounds(Rectangle) from JDialog. Horst.
thanls a lot.. u just improved a lot of asthetic value to my application..