When message box looses focus, no way to get it back
Hello!
I have this very simple, yet annoying problem.
When my program finishes reading a database, I inform the user of that fact by displaying a JOptionPane message box. But, if I switch to another program without clicking "OK" on that message box, it gets out of focus and hides behind the application.
There is no way to get to that message box afterwards, and the user cannot use the program since he hasn't clicked "OK" yet.
Any thoughts???
Thanks,
Vladimir
Simple line:
JOptionPane.showMessageDialog(null, "Data Ready" );
The focus gets lost whenever you click on any other application. But when I click back on my application, I expect the message box to be visible (to pop-up along with the application). But that doesn't happen. The main window of the application is shown, but not the message box (it is hidden somewhere behind the application(s)). And if I don't click "OK" on the message box, the main window is not editable ( I can't do anything with the main window until I click "OK" on that message box).
Basically, my question is how do I make that message box always appear first when my application gets the focus.
Vladimir
Similar Messages
-
I got my hardrive replaced a few months ago when it crashed. I don't have iPhoto on my computer anymore, is there a way to get it back at all or do I have to buy it?
You must use the same Apple ID used for the original iPhoto purhcase.
Open the App Store then select Purchases from the menu top of that window.
Click Download to the right of iPhoto.
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
I had backed-up my iPhone and when I try to restore it it says that the back-up is corrupt or the iPhone is not compatible. I had a bunch of pictures that I need from that restore. Is there any way to get them back? I did the back-up to my Macbook
If the backup is corrupt, there is nothing that can be done.
For what reason did you choose to not copy the pictures off the device to a computer prior to attemping an update or whatever caused the need to restore? iPhones are not intended as sole storage of any media. -
i just bought a 25 dollar gift card in another state on itunes, spent 6 dollars and when i came back home and updated my ipod it said that i had no credit. is there any way to get that back?
iTunes Store Support
http://www.apple.com/emea/support/itunes/contact.html -
When I plugged my iphone into the computer for the first time i lost all my music and ringtones. Is there a way to get them back without buying them again, or will I have to buy them again.
Download the free app My Contacts Backup and use it to back up the contacts on your device now (it will back them up as an attachment to an email that you send to yourself). Then restore your device to your most recent backup to see if it will recover your contacts. If not, if necessary you can open the email and tap the attachment to re-import the contacts you have now back to your device.
If you need to restore to an iCloud backup this has to be done in the initial setup process, which requires you to first erase your device. If you have any more recent data on your device now that is not in the backup that you want to save you'll need to do that first. Then go to Settings>General>Reset and tap Erase All Content and Settings. You will then go through the setup screens on your device, and when given the option, choose Restore from iCloud Backup (see image below). Be sure you are connected to wifi and your charger as this will take some time to finish. -
Help, What if I accidentally deleted 1 contact Integrated messages is there a possible way of getting that conversation back?
I'm sorry to learn that an important conversation was deleted in error CDRINGL! As indicated by Snn5 (thanks!), it is not possible to retrieve deleted conversations.
AntonioC_VZW
Follow us on Twitter at www.twitter.com/VZWSupport -
i have a iphone 4 plan and when i got the phone i asked Telstra to disable 3g so i couldn't use it. Is there any way of getting it back.
You need to arrange that with the carrier since they are the ones that disabled it.
-
I recently deleted an email account from my phone because they were going to require me to always have password lock on ect. When I deleted it some of my notes in my notes app disappeared. Is there a way to get those back? Maybe by reinstalling that email account?
contact tech support at your company - they should have backups available and might be willing to help you
LN -
All my entries in 'notes' have disappeared. I had several different 'notes' entered over the last few months but when I opened the app recently, all of them had gone. Any way of getting them back? This has happened once before but they just popped back in a few days later. No such luck this time.
Not Charge
- See:
iPod touch: Hardware troubleshooting
iPhone and iPod touch: Charging the battery
- Try another cable.
- Try another charging source
- Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic. I suspect this is your problem
- Make an appointment at the Genius Bar of an Apple store.
Apple Retail Store - Genius Bar -
is there any way to get ichat back with mountain lion? also is there a way to have multi-person video chats with messages?
There is no way that I know of to install iChat because it is not supported in ML. You may want to read a couple of these Threads
https://discussions.apple.com/thread/4143616?start=0&tstart=0
https://discussions.apple.com/thread/4151787?start=0&tstart=0 -
When I went to sync my iPhone, I accidently hit restore and it made my iPhone have all of the settings of my iPod Touch, erasing my iPhone pictures and contacts. Is there any way to get everything back?
Not to doubt you, but something sounds fishy. I can see accidentally clicking Restore, but to load your Touch's information you would have had to select your Touch's backup file after restoring, which would be hard to do by accident -- unless your iPhone and Touch have the same name?
In any case, your iPhone should have its own backup file on your computer. You can click Restore again and this time select the iPhone's backup file (there should be a device name and date associated with the pop-up window at the end of the restore process). This process will erase your iPhone, reload the OS, and then when you select your backup file then all your iPhone settings, data, sync options, etc. will be re-loaded, including your media (if you auto-sync ... if you manually manage music and video on the iPhone then you'll need to re-select the items you want loaded onto it). -
When watching a program or film, the video will suddenly fo black, but the audio will keep playing. The only way to get picture back is to turn the tv off then on. Whats going on?
Welcome to the Apple Community.
Check that the HDMI cable is correctly seated at both ends.
Try disconnecting the cable and connecting it again.
Try another HDMI cable.
Make sure your TV supports 720p (Apple TV 2)
Try the Apple TV with another TV -
I bought music on my iPhone but lost it when I connected it to a new laptop is there any way of getting is back without paying again for it?
Was the content not synced with a computer previously? If it was, simply re-sync with that computer.
Syncing an iDevice to a new computer will do exactly what you describe above as this is not the way to move content to a new computer. -
I have an iPod whose contents I want to transfer to a newer Ipod. At some stage when I thought I was syncing correctly I wasn't so I lost the music files from my library. Is there any way to get them back from the older iPod and put them onto the newer one again?
Have you not got a backup of your content on, for example, external drives ? If not then you could have a look to see if any of the utilities mentioned in this old post still exist and work : https://discussions.apple.com/message/11014893?messageID=11014893#11014893
-
I had to restore my ipod touch when doing an update and now I have lost all my games. Is there a way to get them back?
Restore from backup
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
Maybe you are looking for
-
BTE (business transaction event) for VB02, VB01
Dear Experts, How can i use BTE with VB02 and VB01 (Listing) , I need to capture every change or creation of listing thank you Oded
-
Autonomous AP, 12.3.8JE3. EAP-FAST on local radius failure
Hi all, I've been trying to configure EAPFAST on Autonomous AP 1242 with the above firmware using local radius. Here are the config: aaa new aaa group server radius rad_eap server x.x.x.x auth 1812 acct 1813 aaa authentication login eap_methods group
-
Quality issues importing Sony HD into iMovie 8
I have a Sony HD AVCHD camera which uses SD cards. The only method to import the footage is with iMovie 8. The program advises to use the "large" quality setting, and the footage came out really nicely. The resolution was small, but the quality was f
-
Pricing : Discount on basic price and excise duty
Hi gurus, I want to give a discount based on sum of basic price and excise duty. But Excise duty is captured only in tax. In this case how to give the discount based on the sum of basic price and excise duty since excise duty is not in the pricing p
-
Adding ZoomIn functionality to the Gantt menu Items
Hi We have a requirement of adding ZoomIn/ZoomOut as MenuItem in Gantt. As ZoomIn/ ZoomOut is an implicit functionality of Gantt.Is there any way to do this?