Double click the icon (upper left) to close frame

hi to all
how can i close a JInternalFrame/JFrame if i will double click
the upper left icon which can be found before the title of the
frame
i don't know that to put, or what kind of listener..
plse someone help...
thanks
kent

Use, if the intframe is closable,
jitf.setDefaultCloseOperation(JInternalFrame.DISPOSE_ON_CLOSE);but, normally, it is the default behavior.
Have you created your jitf with the "closable" property to "true" ?
Denis

Similar Messages

  • I need to recover all my notes from Ghostwriter. When I double click the icon nothing happens. I am sick to my stomach! Can anyone help me?

    i need to recover all my notes from Ghostwriter. When I double click the icon nothing happens. I am sick to my stomach! Can anyone help me?

    Try to backup and restore you device in itunes...restoring the device is like removing the iOS software off the device and re-add in a newer software, after you have restore you device, MAKE SURE YOU SET UP YOUR DEVICE LIKE A NEW DEVICE, DONT NOT RESTORE FROM BACKUP!!... give the device a chance to use the newer software and see if the issue still persisting, if the issue still on going then its would be a hardware issue.
    Call Apple Care and see if your device is still under warranty to get it replace

  • Know why Premiere Elements 3.0 won't start when I double click the icon?

    I have Windows Vista 32 bit.  I have Premiere Elements 3.0 and the 3.0.2 patch.  When I double click the icon, it won't load.  I uninstalled and reinstalled the app but it still won't load.  It worked as recently as last week.  I had some virus issues so I took my laptop to Geek squad and they "fixed" the issues.
    I never had this problem with Premiere before.  Anybody know what might be causing it not to start?
    I have been considering an upgrade.  I see that they are up to version 9.  Will version 9 even work on Vista?

    It depends.
    What do you mean by "I never had this problem before"? Do you mean Premiere Elements worked fine until the Geek squad restored your computer?
    Unless they totally wiped your hard drive and reinstalled your operating system, they may have patched but not totally fixed your problem.
    Or it could be that your computer just needs a good cleaning and defragging. Assuming you've got adequate power and a good 30-50 gigabytes of free defragmented space on your C drive.
    But there's a very good chance that, if you've re-installed version 3 and it still won't run, then version 9 won't run either. After all, if you still haven't remedied yoru core problem, a new vehicle isn't likely to make any difference, right?
    Still, there's no harm in trying. Why not download free trial and see?

  • Firefox is not start up when I double click the icon on Mac. So I got nothing

    I don't know that it happens to me. Today I update firefox 3.6.4 Beta3 on the machine that I hope it old problem issue is gone. But I've been got a problem that I've double click a icon on Doc and then it's gone.
    Hope you response a problem !
    == This happened ==
    Every time Firefox opened
    == I double click the icon to open it on Macbook ==
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.29 Safari/533.4

    See also:
    *http://kb.mozillazine.org/Browser_will_not_start_up
    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls
    Try to boot the computer in Windows Safe mode with network support (press F8 on the boot screen) as a test to see if that helps.

  • TS3293 I have to double click the icons

    I have to double click my icons for them to open. How to I go back to just touching them once?

    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • I synced my Ipod to itunes now i can only double click the icons on the screen it seems that the swiping feature has been disabled, how do I get it back to normal? I've restored it but nothing has changed

    I synced my Ipod to itunes now I can only double tap the icons on the screen, it seems that the swipeing feature has somehow been disabled, Is there a way i could fix it or get it back to normal?

    Hi there,
    It sounds like you may have an accessibility feature called VoiceOver enabled. Take a look at the article below for more information on how to use VoiceOver as well as how to disable it.
    iPod nano (6th generation and later): How to use VoiceOver
    http://support.apple.com/kb/ht4317
    -Griff W.

  • Why does Firefox no longer launch when I double-click the icon?

    I found an article on the support site that suggested creating a new profile, but the run command did not launch profile manager. I tried uninstall/reinstall, but it does not change behavior. When I click the icon, I get the hourglass for a moment, and then nothing. I'm on WinXP. On 10-14-11, I thought I saw a pop-up menu saying Firefox was updating (I did not initiate it, nor was I presented with a confirm pop-up), but it was very brief, so I'm not sure. After that day, Firefox would no longer launch. I've not made any system changes, or installed any programs.

    See:
    *http://kb.mozillazine.org/Browser_will_not_start_up
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    * https://support.mozilla.com/kb/Server+not+found
    * https://support.mozilla.com/kb/Firewalls

  • TS3276 Mail is not responding. When I double click the icon spinning colour ball come out and my Mac Book Air hang. Can you solve this Problem?

    Dear Sir/Madame,
    Yesterday my mail worked very well. This morning I could not open the mail. When I double click at mail icon, spinning colour ball appear and my computer hang. I have to force quit the mail. I would appreciate very much if anybody can help me to solve the problem.
    Thanks
    Bambang Sutrisna

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below on this page to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Log out and log back in. Launch Mail and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • I downloaded periscope on itunes however when I double click the icon nothing happens!!!!

    I downloaded Periscope on itunes. It shows it finished and i see the icon. When i try to double click to open it nothing happens. Is this happening to anyone else. This also goes for any other app that I dll thru itunes.

    iOS apps don't run in iTunes on your computer and you don't double-click apps on iOS devices. What is the real problem you want to address?

  • Cant Open System Preferences, when i double click the icon it opnes up and then after a second it disappears

    Hi new as a mac user...ok so how come i cant open my "System Preferences" and my "hard disk icon" is missing from my desktop? and im seeing question marks on my icons, namely the "download" icon and the "documents" icon? i need help :/
    i tried opening the system preferences from the uper left corner of my desktop but to no avail. and i cant really reinstall the OS because macbook air doesnt have a disk drive and my MBA is early 2008 so it doesnt have the USB thingy that the latest MBA has.
    i was thinking maybe because i changed a couple of things in the "sharing preferences" i have no idea i need help any suggestions?

    I'm also using Windows 7 on a Lenovo U310 laptop.

  • Firefox doesn't open when I double-click the icon. I already tried uninstalling it and reinstalling it.

    Initially, both internet explorer and Mozilla Firefox wouldn't open. After 3 months of not using my laptop, I decided to try to troubleshoot the problem. Miraculously, I could open IE today without having to do anything. But I was still having trouble with firefox. So I killed it in the task manager, and then I uninstalled it and reinstalled it. The loading icon would appear, but the window wouldn't open. So I tried opening it in safe mode. It worked, but like for 2 seconds. After 2 seconds of having it in safe mode, the window would freeze, I wouldn't be able to click anything in the window, and the top of the bar said "not responding". I'm not sure what else to do. Any suggestions?

    I'm also using Windows 7 on a Lenovo U310 laptop.

  • I can not open new windows, be it by pressing Ctrl + N or double-click the icon or whatever.

    i have firefox version 3.6.24

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • Firefox does not come up when I double click the icon, why not?

    I upgraded Adobe but Firefox did not come up afterward. I uninstalled the upgrade but still can't get Firefox. On Start I get an MSN page without a toolbar or any other way to get to anywhere else. I have to close the window and am back at Desktop. Windows Explorer is working, going to wedsites, etc.

    What version iOS have you got ? If you are still on the orginal iOS 3 version then you won't get the taskbar.

  • Itunes just won't open.No error message or anything,it just simply won't open when i double click the icon.Plz help!

    As the title says
    Thanks in advance!!

    Its alright I forget some details when I post a question too, anyways.... sounds like some file has got corrupt or theres a PC glitch.
    As with many post covering simliar issues about iTunes not opening, first try uninstalling Quicktime and reinstalling it.
    Also make sure your anitvirus is turned off or disabled when uninstalling/reinstalling iTunes and qicktime. Follow ALL the steps at the link below
    http://docs.info.apple.com/article.html?artnum=93976

  • ITunes doesn't open when I double-click the icon.

    It doesn't give me an error message. I'll just see my arrow spin and then nothing. I have windows 7. It doesn't even attempt to open.

    Doublechecking. Have you worked through the following troubleshooting document?
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues

Maybe you are looking for