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.
|