Hi "Sunny c9". Welcome to the ranch.
Take a look at JDialog and this dialog tutorial
here Is that what you are looking for?
As a side note, you need to change your display name to reflect your real name. You can do that by clicking
here. Also do take out time to read the
NamingPolicy