Making the JFrame window appear at center of screen
How can i making the JFrame window appear at center of screen, just like JOptionPane?
Toolkit tk = Toolkit.getDefaultToolkit();
Dimension screenSize = tk.getScreenSize();
int screenHeight = screenSize.height;
int screenWidth = screenSize.width;
setLocation((screenWidth - framewidth)/2, (screenHeight-framehight)/2);
setSize(framewidth,framehight);;
Similar Messages
-
Hi, I have just loaded Lightroom 5 from the disc onto my Mac. every time i try and launch the application, it goes to the registration/licence window. i have input the data five times already. When Lr5 launches the update window appears, when i try to do anything the following message comes up: - An error occrred when attempting to change modules. What do i need to do to fix this?
Masher please use the uninstaller located in the Applications/Utilities/Adobe Installers folder. Once Photoshop Lightroom is removed then please download Lightroom 5.5 from Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5 and reinstall.
-
This problem only began today and only with Webkinz.com
When my daughter went to login, the new window where she logs in was in the bottom right corner. I pulled it up to the display and it stayed there. When she tried to log in again later on in the day, the login window appeared in the bottom right corner of the screen again.Open Firefox -> Help Menu -> select "Restart with Add-ons Disabled"
Firefox will close then it will open up with just basic Firefox. Now you can Enable the Add-ons and it should be ok. Check and tell if its working. -
What's with the double window appearing out of nowhere in Address Book?
There is one window visible all through the Time Machine process until the very end when suddenly a phantom Address book window appears.
To recreate:
Open Address Book
Open Time Machine
Scroll to the oldest address book window in TM
Click Cancel
TM returns to present and as TM quits the two windows appear.I duplicated this, and indeed, a second window shows up. However, it vanishes in less than a second on my machine. I believe it's the one shown while in Time Machine mode; apparently, when viewing the address book, Time Machine moves back to "real time" before closing the window, the opposite of what one usually sees. Are you saying that in your case, the second window stays open?
Daniel -
The icloud backup window appeared on my ipad screen. I pressed Ok without thinking and everything on my ipad seems to have locked.And the icloud backup window won't go away.
Welcome to Apple Support Communities
Hold Sleep and Home buttons for 10 seconds until the iPad restarts, so you will be able to use the device again -
With installation of 10.1 I lost finder search function. The finder window appears, but no matter what I put in the search window, nothing is found. I re-installed it with initial success, but it failed again very soon.
MacBook Pro (15-inch, Mid 2010)
OS X 10.10.1Hey Reoh,
Thank you for contributing to the Apple Support Communities.
If searching for files in Finder doesn't return any results, try using the steps in this article to reindex the Spotlight search index of your MacBook Pro hard drive:
Spotlight: How to re-index folders or volumes - Apple Support
Sincerely,
Jeremy -
# Question
when tiring to download the download window appears and the bar moves across to complete but then the window closes and nothing is downloaded?Your plugins list shows outdated plugin(s) with known security and stability risks.
*Shockwave Flash 10.0 r32
Update the [[Flash]] plugin to the latest version.
*http://www.adobe.com/software/flash/about/
It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
You can try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.<br />
Do not forget to re-enable the scanning in your anti-virus software after you are finished with downloading and installing.<br />
See http://kb.mozillazine.org/Unable_to_save_or_download_files (Disable virus scanning in Firefox preferences - Windows) -
I have Aperture 3 iinstalled and have used it for quite a while. Now when I try to open it a licensing window appears and wants the reg #. I copy it from the program on another comupter, yet it says that it's invalid. Any ideas?
Check this support article:
Troubleshooting Professional Application Serial Numbers:
http://support.apple.com/kb/TS2005
Sometimes look-alike characters may be confused, also you may need to enter the previous registration numbers as well, if your Aperture version is an upgrade to Aperture 2 or 1.
Regards
Léonie -
My ipad screen has got locked. This is probably because a teenager tried to use the device in my absence. The passcode screen appears when I restart the device. But, does not respond to typing. How can I revive the device?
The device was synced to icloud some time ago. The Laptop PC I normally use with the device is not with me now and is being formatted for a different reason.iOS: Device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
How can I unlock my iPad if I forgot the passcode?
http://tinyurl.com/7ndy8tb
Using iPhone/iPad Recovery Mode
http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
Saw this solution on another post about an iPad in a school enviroment. Might work on your iPad so you won't lose everything.
~~~~~~~~~~~~~
‘iPad is disabled’ fix without resetting using iTunes
Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
2. Open iTunes with the iPad disconnected.
3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
5. Click ‘Setup as new iPad’ and then click restore.
6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
~~~~~~~~~~~~~
Try it and good luck. You have nothing more to lose if it doesn't work for you.
Cheers, Tom -
1 - I installed the Mavericks system in my iMac.
1 - Instalé el MAVERICKS en el iMac
2 - I realized that I did not serve the FaceTime and iMessage
2 - Me percaté de que no servían el Facetime y el iMessage
3 - I reinstalled the MAVERICKS
3 - Reinstalé MAVERICKS
4 - Now a window appears asking me my iCloud password every time I turn off and restart or turn on my MAC
4 - Ahora siempre que reinicio o apago y enciendo el MAC se me pide mi contraseña de iCLoud y los dos programas anteriores siguen sin funcionar!!!
Please Help me...
If somebody talk in spanish then answer me in this language...
Si alguien habla español, por favor solicito de la manera más atenta me pudiera contesar en ese idioma.ISSUE FINALLY RESOLVED!!!!!!
So, it turns out, I had to restore the iPhone...with a twist! Here are the steps:
FIRST BACK UP YOUR DEVICE
1. Go to the library (Hold option, click on "go" in the finder, then go to library)
2. Go to your iTunes folder in this Library (not application support, the main iTunes folder)
3. Go to the iX software folder (i.e., iPhone software, iPad software, etc.) and delete the file in this folder
4. Hook up the phone and then click on restore iPhone.
At this point, it will redownload the entire OS again. You must then restore the iPhone. As it is downloading the iOS, you can disconnect and use your phone for probably however long you want (I did the restore the same day as the download) and when you are ready you can hook up the phone and restore it.
THE MOST IMPORTANT STEP FOLLOWS:
And one many may dislike. Upon restoring the phone, you MUST select "Set-Up as new iPhone"
You need to make sure you've backed up EVERYTHING elsewhere. 3rd party, non-apple/icloud apps will lose data through this method, and you'll lose all texts, your call history, and super old voicemails. The upside is that, if you've backed up, then you can just restart the process if you forgot something. But seeing as how the popup was interfering with my ability to use iCloud (I couldn't sync anything, such as calendar events, reminders, etc., unless I had gone into mail to sign in to iCloud), it was totally worth it....no more popups.
My only wish is that this thread becomes popular. Many people have this issue and you should only use this method as a super last resort (after trying literally everything I had written previously). -
Making the Network name appear on top bar?
Does anyone know a way to make the Network name appear on the top bar. I have a split network in my house and would like to see which one I'm connected to at all times.
No way to do that, you will need to go into the settings and look at the Wi-Fi connection.
-
I don't want my Firefox browser window to be the full screen width. How do I adjust the browser window width?
Thank you.This can be a problem with the file [http://kb.mozillazine.org/localstore.rdf localstore.rdf] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder].
Delete localstore.rdf or rename the file to localstore.rdf.sav in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder] to test if the file is corrupted.<br />
See http://kb.mozillazine.org/Corrupt_localstore.rdf<br />
(caution: do not delete the localstore.rdf file in the Firefox program installation folder) -
I am having trouble with my ipad. When I turn it on the message that I have not backed up my iphone appears on the screen. I cannot get rid of it or acces anything. The screen is frozen. I cannot even turn it off.
Hello Juno2162,
Thank you for providing the details of the issue you are experiencing with your iPad. I recommend following steps in the tutorial below to address an issue like this. I think the step to reset your iPad may be particularly useful in this scenario:
To reset iPad, press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears.
You can find the full tutorial here:
Frozen or unresponsive iPad
https://www.apple.com/support/ipad/assistant/ipad/
Thank you for using Apple Support Communities.
Best,
Sheila M. -
Normally I have had to go to Control Panel; Appearances and Themes; Display; Settings; Advanced; Custom; and then I adjust the Customize Setting to 155% (149 dpi). I have hit on this setting through trial and error; larger and icons like the cursor get big and fuzzy. Smaller than 155% and text and images are tiny on the 32" wide screen. This time that procedure doesn't seem to work. The text and images remain too small regardless of setting, although the cursor icon gets big. I can manually zoom the pages, but that is clumsy and has to be redone. Does anyone know of an easy setting fix? I am not too smart about this stuff--mostly trial and error, but I do want to be able to enjoy my wide screen. Thanks!
Normally I have had to go to Control Panel; Appearances and Themes; Display; Settings; Advanced; Custom; and then I adjust the Customize Setting to 155% (149 dpi). I have hit on this setting through trial and error; larger and icons like the cursor get big and fuzzy. Smaller than 155% and text and images are tiny on the 32" wide screen. This time that procedure doesn't seem to work. The text and images remain too small regardless of setting, although the cursor icon gets big. I can manually zoom the pages, but that is clumsy and has to be redone. Does anyone know of an easy setting fix? I am not too smart about this stuff--mostly trial and error, but I do want to be able to enjoy my wide screen. Thanks!
-
My previous MacBook Air running an older operating system synced up just fine with these same projectors using the same minidisplay to vga adapter. My new computer has Airplay on it, and Airplay shows up on my menu bar on the new laptop where the displays icon used to appear. I cannot get the displays icon to display (even when I turn Airplay mirroring off). It used to show up on the menu bar and if I had projector issues I hit "detect displays" and it resolved. None of that appears to be available with the new operating system and Airplay on. I am not sure why.
My previous MacBook Air running an older operating system synced up just fine with these same projectors using the same minidisplay to vga adapter. My new computer has Airplay on it, and Airplay shows up on my menu bar on the new laptop where the displays icon used to appear. I cannot get the displays icon to display (even when I turn Airplay mirroring off). It used to show up on the menu bar and if I had projector issues I hit "detect displays" and it resolved. None of that appears to be available with the new operating system and Airplay on. I am not sure why.
Maybe you are looking for
-
I have installed the cars 2 app mate on a ipad 2 from an ipad 1 synced with itunes account.. all is working except this app. After many times of un installing and re installing aswell as talking to apple tech suport this app is still not working....
-
Clarification required in File to DB scenario
Hi all, I have a requirement to insert flat file records to a Oracle database. Few fields in the database are of type nchar/nvarchar.Is there any special transformation required in PI for these fields, as my records are not getting inserted into DB w
-
Installing Discoverer with Database Version Oracle 10g Express Edition
Hello, Is it possilbe to install Discoverer with database version Oracle 10g Express Edition? I have Oracle Fusion Middleware 11.1.1.1.0 on my Windows XP machine as well. If so, can someone please provide me a link to the Discoverer download. Regards
-
Very urgent purchase requisition workflow
Hi, I have been asked to develop a pr workflow,here i have to capture the tracking number along with the pr no and based on the trancking number it should go to the respective department person to release it.How can I do it. Regards, Latha prabhu.
-
Passing values to parameters in row created by createInsert method
Hi, I am passing some values from one task flow to other as input parameters for the other. There(in second task flow) i am using a createInsert method to create a row. How can i pass the values of the input parameters received to the parameters of t