Perform an action on close from the close button in the top right corner

Hello.
I am working on an application that consists of a main fraim and multiple internal frames. Some of the menu items must not be enabled unless an internal frame is opened and if that internal frame closes the menu items must be disabled again. Now before opening the internal frame i do have the items setEnable(fase), and when i open the internal frame i setEnable(true). The problem is that i dont know how to perform an operation when i close the internal frame by the little box with the x in it, located in the top right corner of the internal frame, so i can setEnable(false) them again.
Any help will be appreciated!

Use the InternalFrameAdapter. that has listeners for internal frame events..
use the particular method that you might be interested in ,
void internalFrameClosed(InternalFrameEvent e)
Invoked when an internal frame has been closed.
void internalFrameClosing(InternalFrameEvent e)
Invoked when an internal frame is in the process of being closed.
void internalFrameDeactivated(InternalFrameEvent e)
Invoked when an internal frame is de-activated.

Similar Messages

  • How do i get the firefox button to appear (top left corner) ??

    i have downloaded the newest version of firefox on my work computer... the new firefox button in the top left corner does not appear... how do i get it ??? ....i have firefox on all other (home) computers & its there on all of them !!!
    firefox is awesome !!!!!

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden (View > Toolbars > Customize or right-click a toolbar).
    You can hide or make the Menu bar visible via View > Toolbars, also accessible via Firefox > Options.
    If you need to access the hidden Menu bar then press F10 or tap the Alt key to make the Menu Bar appear temporarily.

  • I have an old ipod touch 3rd generation and when ever i open it , it doesn't open or it turn blank, if i click on the home button and the power button to do the reboot it works but when i remove my finger it close. i can acced the ipod from the cpu but no

    i have an old ipod touch 3rd generation and when ever i open it , it doesn't open or it turn blank, if i click on the home button and the power button to do the reboot it works but when i remove my finger it close. i can acced the ipod from the cpu but not from the actual device

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.  Error Code: c0000005  Address: 76f73ac3     I clicked on the OK button and the downloader closed.     I then tried to download from the organizer. I

    Photoshop Elements 12
    Adobe Photo Downloader has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Code: c0000005
    Address: 75e32f71
    I clicked on the OK button and the downloader closed.
    I did a search on this error code (c0000005) and there seems to be a workaround but no solutions, why is this? I ask that because this problem seems to be years and years old, going back to at least 2005 (do the math that is 10 years).
    I don't even have the Camera hooked up and I get this error on download.  I redownloaded everything and reinstalled.  I allso saw the AVI issues reported with this proble so i updated Quicktime though without the camera being hooked up when I get this error I didn't expect that to work.  I tried support and they wouldn't help because I bought it in March this year.  Pretty frustrating as I have re-purchased Elements about every 2 years.  I think I might need a new CODEC?   I had this problem on an Earlier version And I seem to remember that being the Fix but this may be something completely different

    I finally found that it was missing a picture so the Catalog was "corrupted".  I just deleted the picture and it started working.
    I hate Adobe and their total lack of support - thanks for nothing Adobe .  Also get this - they offered me to upgrade to 13.0 ( My 12.0 is only 6 months old  but they still don't support it on errors.  Only install errors!
    I have upgrade and repurchase this product 4 times now.  I will find something else next time!

  • Why do the minimize, maximize, & close buttons in the top right corner disappear (turn to a black void) unless FF is maximized?

    I am running Windows 7 on my new laptop. When I bought it back in August, I installed Firefox version 5 (I think) Now that I have updated to version 6, the minimize, maximize, & close buttons in the top right corner disappear when the window is not maximized. It becomes a black space where the buttons should be.

    Hi Kossa,
    You can also check if the issue occurs in
    Clean Boot. If the issue disappears in the Clean Boot environment, you can continue to narrow down which entry is causing the issue.
    Besides, uninstall it and re-download
    a fresh copy of FireFox to check the result. If the issue still exists, create a new user account to see if it occurs.
    If the issue persists, you can contact Mozilla Support directly and use Internet Explorer (IE) during the time.
    J
    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise,
    regarding this product's performance or reliability.
    Regards,
    Linda

  • How do you close apps you hve looked at with the new software update?? You used to have to double click the home button and the apps would come up to delete bu that doesn't happen anymore.

    How do you close apps you hve looked at with the new software update?? You used to have to double click the home button and the apps would come up to delete bu that doesn't happen anymore.

    The apps in the multitaskbar should appear like pages on the whole display. To close them, just swipe from the bottom to the top. you can select single apps for closing, when you swipe them like you would swipe your homescreens.

  • I lose the minimize, restore and close down buttons in the top right corner when removing the Menu Bar.

    I am using Firefox 28.0 on my Windows 7 64-bit PC. I would like to remove ONLY the menu bar and keep the orange Firefox tab. But when I uncheck the Menu Bar box, I not only lose the menu bar, I lose the three buttons on the very right of the screen as well - the minimize button, the maximize/restore down button, and the red 'X' close button. The space where these buttons ought to be is black. When I recheck the Menu Bar box, those three buttons on the right of the screen reappear!
    I would like to know how I am to remove the Menu Bar but keep the minimize button, the maximize/restore down button and the red 'X' close button.
    Eagerly waiting for your reply! Thanks much! ♥

    Hello again, cor-el,
    Thank you again for keeping up with me on this! I really appreciate your time!
    I tried your suggestions of using Safe Mode and a different Windows theme (2 different ones to be exact), but neither solved the problem. Each time I tried disabling the Menu Bar, the same 3 buttons disappeared and I got nothing but black space. It doesn't even fill the space with any background I may have. It's just black.
    Additionally, disabling all my personas did not help, either. :(
    I've been using Firefox for years now and I've never had this issue. It's always worked flawlessly for me.

  • I am unable to create an Action to Export from .ai to .psd. The OPEN and EXPORT steps in the Action

    I am unable to create an Action to Export from .ai to .psd.
    The steps in the Action such as Open and Export seem inextricably linked to the file from which the original Action was recorded.
    The steps in the Action do not seem to be generalized commands that I can apply to any folder of .ai files.

    I'd recommend to exactly describe what you're doing. How did you set up your action? Which settings did you choose in the Batch Process dialog? What exactly went wrong? What did you expect instead?
    Whatever issues you're suffering from, there is no way to provide a hasty answer and no way to give an elaborate answer without knowing the details.

  • There's no "close,Restore Down,minimize"button on the top of the FF4 ,My system is win7 how can i do with it

    there's no "close,Restore Down,minimize"button on the top of the FF4 ,My system is win7 how can i do with it
    == This happened ==
    Every time Firefox opened
    == i have installed the FF4

    Here is how to go to the default theme in case you don't know how to.
    1. Press '''ALT''' to reveal the menu bar
    2. Go to '''Addons, Themes''' and enable '''Default Theme''' to reveal your Buttons.
    (IF you are using Menu bar then just go to '''Tools--Addons--Themes'''

  • My ipad2 is getting lazy with the wifi. On any router it doesn't get the signal by itself, unless I'm so close that the pad and the antenna are touching. Other solution, to turn off and on again the wifi button on the iPad. This strange behavior is new...

    My ipad2 is getting lazy with the wifi. On any router it doesn't get the signal by itself, unless I'm so close that the pad and the antenna are touching. Other solution, to turn off and on again the wifi button on the iPad. This strange behavior is new, before my iPad was blazing fast at getting any known wifi connection. Sme help please ??

    it sure sounds like the battery is defect

  • How do i keep my apps from closing when i click on the numbers button on the keyboard?

    Hello. Recently i have been having trouble with my ipod 4th generation. When ever i open the keyboard and tap on the icon to type in numbers or symbols the app closes. It happens on any app including safari. Please help!

    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar                                                              

  • Hi, after installation of itunes software from Apple website, After installation, when i enter the "Accept" Button in the Software Licenece Agreement Terms

    Hi, after installation of itunes software from Apple website successfully, when i enter the "Accept" Button in the Software Licence Agreement Terms & Conditon, I get error message "Tunes has encountered a problem and needs to close.  We are sorry for the inconvenience". I am having windows XP in my PC. I have tried to remove & reinstall, temporarily suspended by anti virus software, but still getting the same error message

    Tunes has encountered a problem and needs to close.  We are sorry for the inconvenience
    Generate another of those error messages and click the "Click here" link in the error message box. What modname and modver are showing for the error? (Precise spelling please.)
    If the error is a BEX and thus doesn't show an modname or modver, let us know what P1 through P9 items are showing for you instead.

  • In 4.0.1, is it possible to move the Bookmarks Button on the Bookmarks Toolbar to a different position on the Bookmarks Toolbar from it default position on the far right?

    The default Bookmarks Button is on the far, upper right side of the browser window on the Bookmarks Toolbar. It's distracting there, on the edge, in Siberia. I use it a thousand times per day. It's unnatural and distracting to always be turning to the edge, away from "the action". Is there any way to slide its location on the toolbar? Or at least put it on the far left where there's more "action"? I doubt I'm the only one with this instinct, otherwise the Firefox button and items on the usual menu bar (like File, Edit) would not always be placed on the upper left, not upper right. I'm not asking about the other, optional Bookmarks Button that can be put on the Navigation Toolbar which functions differently and more cumbersomely.

    To move the bookmarks button on the Bookmarks Toolbar, you have to go into Customize first. Just drag the button palette to one side so you have full access to the bar. The only things on it should be "Bookmarks Toolbar Items" and the icon for the bookmarks drop-down list. Hopefully then you can swap their positions.
    (And it is weird that the buttons look the same when one shows a menu and other opens the Bookmarks Sidebar.)

  • I bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent !

    i bought an iphone 4 from my friend and he do not know his apple ID and we are trying to know the email attached to is apple ID so we can rest it cause he forgot them as well and the reset button in the 2 steps always says that the email is always sent ! ( even if you wrote a worng ID like ( asdasdasd ) it will say sent !! how come and now am trying to know or need a hint on that email so my freind could try to remember it !
    to those who will think that this phone is stolen , no its not and i would love to go to apple store if there is 1 in jordan so they can help us ,
    i have everything with this iphone the box the catalog its serial number , everything but the ID and the (and apple ID is everything as you know)
    so please if anyone have any suggestion to help me , and even apple it self if the can help me to get a support from them cause i tried everything to contact them by mail or any other option since as i said there is no apple store in jordan

    he knows his ID , if he did all whats in the link he can get his password back ?
    how can i make him call applecare ? is there a way to speak to them from jordan ??
    i have been trying to reach any1 in apple so they can communicate and help my friend (us) to make him remember it .
    am not asking for the password or trying to get into the phone without using it , and i can take my money back though i need to help my friend as well since now he cant use it as well.
    thanks kil

  • Where is the photos button in the new version of iTunes?  Need to sync photos from teh computer but photos buton doesn't exit or is hidden.

    Where is the photo button in the new version of iTunes?  I need to sync photos from the computer?

    On iTunes 11 you can re-enable the sidebar via View > Show Sidebar. To sync photos, connect and select your iPad on the left-hand side of your computer's iTunes (if you've enabled the sidebar), and on the right-hand side there should be a series of tabs, one of which should be Photos - if you select that tab you can then select which photo folders to sync to the iPad. There is a bit more info on this page. You will need to sync all the photos that you want on the iPad together in one go as only the most recent photo sync remains on the iPad - synced photos can't be deleted directly on the iPad, instead they are deleted by not including them in the next photo sync.
    If you haven't enabled the sidebar, then from you library click 'iPad' at the top right of the screen and you should get a series of buttons along the top of the screen, including one for Photos

Maybe you are looking for