Need to keep the focus on JFrame

hi everybody, i need your help.
in my program i have a JInternalFrame and i have a JButton "open" it open an image browser that i made, but the problem that i made the browser in JFrame, and i have problem to keep the focus on it , cause the user must not do anything before he click on ok or cancel...
i try to make the browser on a JOPtionPane, but the size of JOptionPane is so small and i lost a part of my components.
thanks for ur help.

Just change browser class to extend JDialog and set the jDialog to modal.

Similar Messages

  • Migrate Active Directory 2008 to 2012 but need to keep the same ip address and server name

    Hi,
    Current setup is 2 DCs in one site running 2008 R2 AD.
    We are planning to migrate from 2008 R2 to 2012 R2 but need to keep the same ip address and server name. I have came up two plans to do this and hope someone can tell me which one would be the best approach. What is the pros
    and cons in Plan A and B or may be plan C if there is a better one?
    First, I was planning to do plan A but just had a second thought of Plan B.  My concern in Plan A is about changing the server name when the new 2012 R2 already running as DC.  Plan B would be changing all the old server
    name and ip before they become member sever and DC. 
    Any information and suggestion would be very appreciated.
    Plan A
    Run adprep /forestprep on 2008 R2 DC
    Build a new 2012 R2 server and promote it as 3rd DCs in current Domain
    Transfer FSMO from 2008 R2 to 2012 R2
    Run Repadmin /syncall to force replication
    Rename the demoted 2008 R2 DC to something else
    Change the demoted 2008 R2 ip address to something else
    Restart the demoted 2008 R2 server to take effect
    Now, run Netdom computername command to change the new 2012 R2 server name to the old 2008 R2 DC server name
    Change the new 2012 R2 DC's ip to old 2008 R2 DC's ip
    Run ipconfig /flushdns
    Run ipconfig /registerdns
    DCDIAG to see any error
    Plan B
    Build 2 new 2012 R2 standalone servers
    In 2008 R2 ServerA transfer FSMO to 2008 R2 ServerB
    Demote 2008 R2 ServerA to become member server
    Rename 2008 R2 ServerA to something else and change the ip address to something else and shut it down
    Now, rename one of the new 2012 R2 standalone server to the old demoted 2008 R2 ServerA name
    Change the new 2012 R2 standalone server ip to the old demoted 2008 R2 ServerA's ip address
    Add the new 2012 R2 standalone server (now with the old 2008 R2 ServerA name and ip) to become member server
    Run adprep /forestprep on the 2008 R2 ServerB
    Promote the new 2012 R2 (now with the old 2008 R2 ServerA name and ip) as DC
    Transfer 2008 R2 ServerB FSMO to the new 2012 R2 DC (now with the old 2008 R2 ServerA name and ip)
    Demote 2008 R2 ServerB as member server
    Rename 2008 R2 ServerB to something else and change the ip address to something else and shut it down
    Now, rename the 2nd new 2012 R2 standalone server to the old demoted 2008 R2 ServerB name
    Change the new 2012 R2 standalone server ip to the old demoted 2008 R2 SeverB 's ip address
    Add the 2nd new 2012 R2 standalone server to become member server
    Promote it as DC
    Run DCDIAG to check error
    Thanks.

    Hi,
    Renaming a Domain Controller is a risky operation which may lead to issues, therefore, I would suggest you go with the Plan B, rename the server before it becomes DC.
    Here is a blog below which could be helpful to you:
    Remove an Old DC and Introduce a New DC with the Same Name and IP Address
    http://blogs.msmvps.com/acefekay/2010/10/09/remove-an-old-dc-and-introduce-a-new-dc-with-the-same-name-and-ip-address/
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Oracle Linux 5.6 - Do I need to keep the xen kernel  ?

    I am using the Oracle Linux 5.6 kernel 2.6.32-100.26.2.el5  also know as the UEK Release 1 in an OVM x86_64 environment.
    Question: Since the Guests are paravirtualized and require Xen specifc I/O drives ( network, disk, etc. ) does that mean I need to keep the Xen kernel rpms, i.e.,
    kernel-xen-2.6.18-238.0.0.0.1.el5
    kernel-xen-devel-2.6.18-238.0.0.0.1.el5
    and this entry in /boot/grub/grub.conf
              title Oracle Linux Server (2.6.18-238.0.0.0.1.el5xen)
              root (hd0,0)
             kernel /vmlinuz-2.6.18-238.0.0.0.1.el5xen ro root=LABEL=/ numa=off
             initrd /initrd-2.6.18-238.0.0.0.1.el5xen.img
    The main driver for this question is I am trying to determine if these rpms are accessed in any way when the UEK Release 1 is in use. If so, then I will need
    to heed to the Security Scan results against the xen kernel version  otherwise I will ignore them and move forward.
    Thanks
    Mark E. LLoyd
    Data Center Technology
    Accenture

    The following is from the OL 6.5 release notes:
    https://oss.oracle.com/el5/docs/RELEASE-NOTES-U6-en.html
    Hardware virtualized guest with kernel-uek-2.6.32-100.35.1.el5uek and higher
    Unbreakable Enterprise Kernel version kernel-uek-2.6.32-100.35.1 adds support for paravirtualized drivers in a harware virtualized guest on Oracle VM. Starting this kernel version hardware virtualized guests which are not configured to use paravirtualized drivers will need an additional kernel boot parameter "xen_emul_unplug=never" in /etc/grub.conf:
    kernel /vmlinuz-2.6.32-100.35.1.el5uek ro root=/dev/VolGroup00/LogVol00  xen_emul_unplug=never
    With kernel-uek-2.6.32-100.35.1 and higher, the default is to present only paravirtualized drivers when running in a hardware virtualized guest on Oracle VM. Adding this kernel boot parameter makes the kernel also present the emulated drivers as it did before (e.g. the 8139cp network driver may no longer load if this parameter is not set).
    Older version of Unbreakable Enterprise Kernel do not have support for hardware virtualized guest that uses paravirtualized drivers (PVHVM).

  • I updated to cc2014, do I need to keep the cc version?

    Hello Everyone,
    I updated to cc2014, do I need to keep the cc version?
    For example, Do I need to keep Premiere Pro CC if I have Premiere Pro 2014?

    No, you can remove any older version you wish to.

  • Do I need to keep the .dmg after installing an application ?

    I drag the dmg to the application folder and do the install, do I need to keep the .dmg afterward? as i`m doubling up on files and filesize,

    No, unless you're running the application straight off the dmg.
    (75180)

  • Do I need to keep the project in Library once I've shared it to Theatre

    Using the new version of iMovie I have made a movie from photo's and movie clips. I have shared it to Theatre so do I still need to keep the project in the Library. Can I delete it to save space? I am reluctant to delete the projects in case it deletes the movie from Theatre. Can anyone help please?

    There is something else to consider. Your processor speed will be reduced and you are much more at risk of losing data should the power go out unexpectedly:
    http://support.apple.com/kb/HT2332?viewlocale=en_US
    Apple's recommendation is that you not run without the battery.

  • How can I control the image size when I export form iphoto, the choice is too limited, I need to send a photo under 3 MB but if I choose high quaulity it is only 1.1 and i need to keep the best quaulity I can. Thanks for help.

    How can I control the image size when I export form iphoto, the choice is too limited, I need to send a photo under 3 MB but if I choose high quaulity it is only 1.1 and i need to keep the best quaulity I can. Thanks for help.

    Any image can only be as large as the Original. With a program like Photoshop you can UpRes an image and get it to a bigger size, larger files size as well, but the actual quality of the image will be degraded, depending on the UpRes system and the original quality of the image.
    iPhoto is not the program to be doing that in and I don't think it even has that option.
    So I suspect the image you are trying to send isn't much bigger than what you are getting. You can also try Exporting it from iPhoto to yopur desktop and see what size you end up with. If it is still that 209KB +/- file size then that is the size of the original image.

  • WHAT IS THE POINT OF FOLDER IN DOCK IF YOU NEED TO KEEP THE ORIGINAL FOLDER

    Hi there,
    If I put a folder of pictures on the new Leopard dock, can I trash the original folder? I want to keep my desktop clean and just have it in the dock but I think it will just delete the folder if I do that. If this is the case, what is the point of keeping the folder in the dock if you still need to keep the same original folder on the desktop or elsewhere on your hard drive? Thanks to anyone who can hep with this!

    Daniel Avedon wrote:
    If I put a folder of pictures on the new Leopard dock, can I trash the original folder? I want to keep my desktop clean and just have it in the dock but I think it will just delete the folder if I do that.
    If it behaves as in Tiger, then the folder will indeed be deleted.
    If this is the case, what is the point of keeping the folder in the dock if you still need to keep the same original folder on the desktop or elsewhere on your hard drive?
    If the folder is on your desktop, then it's rather easy to access, but if it's buried on your hard drive, you my not want to open a Finder window if you need to access it regularly. Basically, placing a folder in the Dock creates an alias (shortcut) to the folder. But if you place the folder in the Dock and move the actual folder to your documents folder (for example) instead ot trashing it, your desktop will still be clean, and you'll be able to access your folder easily. IMO, it's not that bad…

  • Once I finish an iMovie project and I publish it to various destinations (Dropbox iTunes YouTube etc) do I need to keep the original raw video on my MacBook or can I archive it to an external hard drive.

    I have now finished 3 iMovie projects and have learned how to prepare them for sharing through various media like Dropbox, iDVD YouTube iTunes etc. but I now have produced a huge number of related files which are filling up my hard drive to the point that I can't import any further raw video until I archive or delete many of these files.
    What files do I need to keep on my MacBook in order to be able to keep these various shared locations functioning, and what should I delete or archive?

    iMovie works best with uncompressed audio. If your track is MP3 or AAC, you may get better results by converting your track to the AIFF format and then using that in iMovie.
    You can do this in iTunes. Go to iTunes/Preferences and click the General button. On the General page, click the Import Settings button. Choose IMPORT USING: AIFF ENCODER.
    (note: remember what you changed it from so you can change it back later, before you import another CD)
    Now, in iTunes, select your track. Then click FILE/CREATE NEW VERSION/AIFF VERSION.

  • Do I need to keep the Capsule plugged in to my cable modem in order to use it for backup?

    The location of my cable modem is really inconvenient. I'd like to move the Capsule to a different room. Do I need to keep it connected to the cable modem in order to be able to use it as my Time Machine backup device?

    I assume your cable modem is a router.. as such the TC should be wired to it in bridge. It will not do anything worse than now for the network in the house.. and the TC can then be accessed as per normal.
    TC is designed to be plugged into the modem or main router by ethernet.
    You can move it anywhere you like in the house as long as you have ethernet connection back to the modem.
    You can run the TC by wireless .. it will have the following effects.
    1. Super slow backups. It will simply reduce the current wireless speed by half or more for backups.
    2. Since there is no QoS your internet will stop during backups. Or near to.
    3. You will affect all wireless clients during the backups.
    It can work, if your backups are very small.. but the TC becomes a near to useless dumb client in the network.. ethernet ports are off, wireless becomes mere client.. so you cannot even connect directly to it.
    If you try the TC in stand alone.. ie a secondary network.. that can work.
    1. The computer will then have backups or internet not both. You will need to deliberately connect to the TC to get backups working. That is assuming you use wireless.
    2. You can do it with ethernet. and have internet by wireless. but the setup is tricky.. tell us if you want to proceed this way.
    3. The problem is, the TC now becomes useless to the whole network and is only used by one computer. You may as well have bought a cheap USB drive, which is more reliable and faster.

  • New mac pro upgrade advice needed or keep the old clunker

    I have a 2008 mac pro with only 8gb ram
    I am use the  computer for FCP and Logic as well
    as photo editing.  It is not my livelihood I am just a serious hobbiest.
    My option is to go with a new Mac Pro probably 8 core with 1 TB
    I would have to get an enclosure for my 4  thunderbolt internal drives.
    I also have 2 firewire 800 2T external drives.
    My monitor is a 30 inch cinema display
    so an 8 core with 64gb plus 4k monitor and upped graphics card is $11,600 add my buisness discount i am probably
    looking at around $11,000
    My other option is to keep the clunker add a 1TB SSD PCIe card form owc and add 8gb ram this will
    cost me $1,400. I am really only throwing away the $200 for increasing the ram as
    the PCIe ssd drive can be salveged and used in the new mac pro if I bought an pcie/ thunderbolt  enclosure.
    Tha advantage of going this route is I could use the clunker for another year allowing time
    for the kinks in the new mac pro to be ironed out as well as the advantage of faster chips in next years model.
    The other issue I have is a use a Universal Audio PCI card with 4 sharc processors to run specific plugins that need that
    card in logic.  That card will no be compatible with the new Mac pro and the replacement cards are over $1000 that are compatibe
    Just looking for some advice do you think the SSD PCI card and ram will keep me happy with the performance to hold off upgrading for
    a year or shoul I just put the clumker out of its misery?

    radman wrote:
    Just looking for some advice do you think the SSD PCI card and ram will keep me happy with the performance to hold off upgrading for
    a year or shoul I just put the clumker out of its misery?
    On this page Apple compares the 2012 Mac Pro (12-core) to a 2013 Mac Pro (12-core). The new Mac Pro performs about 3x faster at rendering. You didn't say how many cores your Mac Pro has but you could expect about a 4-5x faster performance increase.
    I would have some questions for you:
    How much time do you spend waiting on your current Mac Pro?
    How much money are you willing to spend for a 4-5x increase?
    I have a 2010 Mac Pro with a 960 GB OWC Mercury Accelsior E2 PCIe SSD, program launches and computer restarts are much faster. Compressing video takes the same amount of time as it did when I booted from a hard drive. I can't read or type email any faster, iTunes plays music just as fast as it always has with a hard drive.
    I would use Activity Monitor to monitor your computer's memory use while you work with FCP and Logic to see if you are maxing out your memory then adding more may be the way to go.
    I use my Mac Pro for recording over-the-air TV and compressing that video into an Apple TV usable format. I've found that having a dedicated drive for capture works well. Also, when I compress the video my capture drive becomes a dedicated source drive for Compressor and I write the output file to a separate dedicated drive. This ensures I maximize data flow and keep all my cores nearly fully utilized. I tend to do the processor intensive tasks (compressing video which can take hours) at the end of the day when I know I won't be using the computer (or only doing light work on it such as email or web surfing).

  • Need to keep the expired backup for 7 days extra

    Hi All,
    I need help from you guys.
    My problem is.
    1. As per backup schedule, I have to maintain the backups for 14 days (retention period in RMAN)
    2. Now the people are asking to keep the backups for 31 days.
    3. I changed the retention period for 31 days.
    4. When I checked with crosscheck backup, it is showing the backups older than 14 days as expired.
    5. How to recatalog (keep) the expired backups.
    regards,
    Kiran

    you can see the demo here..
    Re: control_file_record_keep_time vs retention policy
    Khurram                                                                                                                                                                                                                                                           

  • HT4859 If all devices are backed up on iCloud, do I still need to keep the files on my computer?

    If all devices are backed up on iCloud, do I still need to keep it on my computer? It takes up a lot of space.

    "iCloud Backup" is a little misleading.
    Apple says you get "unlimited free storage for music, movies, TV shows, apps, and books" but then goes on to say "previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore". Therefore what you purchased is really not "backed up". Your "backup" is no more than your ability to download your purchases again, and that is nothing new. The content remains where it originated - on iTunes, if it's still available.
    Apple could easily change its mind and remove it, change it, or simply make it unavailable.
    Photos and videos in your camera roll are backed up, but photos and music that originated on your computer's iPhoto and iTunes Libraries are not.
    Your free 5 GB of iCloud storage is also used for iWork documents stored in iCloud, app data, all of which is lumped in with "Storage and Backup".
    Same thing for iTunes Match I'm afraid... iTunes Match does not back up your content and is therefore not a backup strategy. It finds a "match" in its vast library and permits you to access it. There have been a lot of complaints from purists who found their mono Beatles tracks were "matched" with stereo equivalents, "explicit" tracks matched with clean, etc.
    Contrast this with a traditional backup associated with iTunes syncing. In that case everything really is backed up to your computer - apps, purchases, music, videos, everything. 
    The bottom line is that iCloud is no substitute for one's own iTunes backup, and a backup / clone of the device containing it.
    More:
    Should I use iTunes or iCloud to back up my iOS device?
    http://support.apple.com/kb/HT5262
    iCloud: Backup and restore overview
    http://support.apple.com/kb/ht4859

  • I have had LR since LR3.  I bought the original program and have done updates ever since.  Do I need to keep the previous versions of LR for my LR5 to work?

    Hope I can get some insight! 

    Just to be a little more specific, you do not need to keep LR3 installed on your computer, but the terms of your license with Adobe require you to not transfer LR3 to another person if you have upgraded to LR5; if you think of it that way, you should "keep" LR3 in that sense. The license terms allow you to have Lightroom (any version numbers) installed on any two devices (which could mean a Mac computer and a Windows PC, or a laptop or desktop, or any combination along those lines). If someone else were to attempt to register the same LR3 key you're supposed to still have to run your LR5 upgrade, either you or the other person could get blocked in that attempt.
    Before upgrading, it's always a good idea to download and try out LR5 to make sure it runs well on the computer you want to use it on--some devices that can run LR3 well can't run a later version well, and if that applies to your hardware, it's best to figure it out before you've paid for LR5.

  • Do i need to keep the os 9 apps folder

    I just got a new macbook pro running TIger. I don't use any os9 applications. can I delete the os 9 apps folder. (i'm trying to clear HS space.)
    Thanks

    You do not need to keep Mac OS 9 and its files on your hard disk, except if you've used Mac OS 9 fonts transferred over by the Migration Assistant. If you have used Mac OS 9 fonts on the machine, move the contents of the folder /System Folder/Fonts/ to /Library/Fonts/ before deleting the Mac OS 9 system.
    (16264)

Maybe you are looking for

  • Problems while trying to read

    Hi, I am trying to read the "Received" headers for an email that is coming into my inbox. The headers are long and hence getting "folded". For example an email has these 2 headers [besides others]: Received: by 10.54.23.20 with SMTP id 20cs33514wrw;

  • My computer crashed and I need to reload my photoshop element 11

    my computer crashed and I need to reload my photoshop element 11

  • Is this 9800PRO compatible with my MotherBoard?

    I need your advice to help figure out my problem so i wouldn't simply waste the money on this graphic card. This is my current rig.... MSI Intel 865P NEO Intel® Pentium® 4 CPU 2.60GHz DDR400 1GB Western digital 160GB and 80GB Enlight 420W The System

  • Portable HD and deletions

    I would like to delete iPhoto from an external hard drive but leave Aperture and Light Room. How do I do this?

  • Recreating This Look

    How do i create this effect: [img]http://i50.tinypic.com/ao0049.jpg[/img] I see it used a fair bit but i cant seem to get anything close to it. Thanks.