This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am making my project resolution specific. It means my project always running in 1024*768 screen resolution whatever is system resolution that does't matter.
But I am facing a critical problem when i running my project and on click any button a new pop up window(JDialog) open when i move slightly move JDialog than JDialog is make invisible after moving mouse over and over JDialog some part of JDialog is visible to me.
I am try setOpaque and many differnet option but my problem is not solve.
check the following code if found any solution then please response me it's urgent :
If you are using full screen exclusive mode you can't open any windows/dialogs/etc. From the JavaDocs for GraphicsDevice.setFullScreenMode() -
If isFullScreenSupported returns true, full screen mode is considered to be exclusive, which implies:
* Windows cannot overlap the full-screen window. All other application windows will always appear beneath the full-screen window in the Z-order.
You'll need to "fake" a dialog and paint it in the same frame, but on top of existing components. Painting to the Glass Pane would probably simulate a dialog well. [ September 15, 2006: Message edited by: Nathan Pruett ]
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Joined: Sep 15, 2006
Thanks for reply. I actually forget that i submit problem on this forum also. Now I try to do which you told.Till then you check this Sample Code