Thread: JDialog
View Single Post
  #1 (permalink)  
Old 04-19-2006, 06:20 AM
raam
Guest
 
Posts: n/a
Default JDialog

Hi all,
I am using JoptionPane.showMessageDialog in my program.When it is
shown , the prgram which is in FullScreen mode comes back to normal
state.The taskbar of linux again appears.
I tried showInternalMessageDialog but I am not able to position the
dialogbox at the centre of the screen.I do not kow how to use
InternalMessageDialog.I just give a component as a parent and it works
fine if the component is at the center of the screen.If the
component(parent of dialog box) is at the corner it doesnot work.I
actually require a dialog window which can be displayed at the center
of the screen without coming out of fullscreen mode.
Can anyone please help me.
Thanks in advance.

Reply With Quote