JMenu content doesn't show up on second click

Hello evryone,
I have a weird behaviour with JMenu's.
When I click on my help menu, and choose the "About" menu item, i show a JDialog with an ok button. So far everything is fine.
But when i click on the Help menu a second time and scroll down the mouse for an item, the menu disapears. If i go to another one, go to an item and then go to the help menu again, then it works.
I thought at the first time it was a JDK bug, but it seems stupid, since everyone does that (open a JDialog from a menuitem). I looked over on the internet to find this kind of behavior, but didn't find anything.
I dont't know if you guys need any code ...
Thanks a lot for your time.
C�dric.
PS : using JDK 1.4.2_05

Ok then. I thought someone might have had that before ...
My menu :
public class RssMenuBar extends JMenuBar
        //building the help menu
        //About Listener
        about.setActionCommand(ApplicationAction.OPEN_ABOUT);
        about.addActionListener(new AppMenuHandler());
        //filling the menu
        helpMenu.add(<other item>);
        helpMenu.add(about);
}The listener
public class AppMenuHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
        if (<otherActions>.equals(e.getActionCommand())) {
        else if (ApplicationAction.OPEN_ABOUT.equals(e.getActionCommand())) {
            log.debug("begin showAbout");
            AboutDialog aboutDialog = new AboutDialog();
            aboutDialog.show();
            log.debug("end showAbout");
        else {
}The dialog
public class AboutDialog extends RootDialog
    public AboutDialog(JFrame owner)
        super(owner);
        setCancelVisible(false);
        this.setTitle(TITLE);
        init();
    private void init()
         ... //adding component in content pane
        //Finalize the dialog content
        this.pack();
        this.setLocationRelativeTo(RssMain.getInstance());
    public void okPressed()
        this.dispose();
}The root dialog (which adds two button (Ok and Cancel and provides convenient method to add component in its GridBagLayout)
public abstract class RootDialog extends JDialog implements ActionListener
    public RssDialog(JFrame owner)
        super(owner);
        init();
    private void init()
        //Finalize the dialog content
        this.getContentPane().add(panel);
        this.setResizable(false);
        this.setModal(true);
    public abstract void okPressed();
    public void cancelPressed()
        log.debug("Default cancel action. Only dispose the dialog");
        this.dispose();
    public void actionPerformed(ActionEvent e)
        if (e.getSource() == okButton)
            log.debug("Ok button has been pressed.");
            okPressed();
        else
            log.debug("Cancel button has been pressed.");
            cancelPressed();
}

Similar Messages

  • Cache Web Content doesn't show how much?

    When in the Network tab, the cache web content doesn't show how much content is used, the line is missing. I tried clicking on the clear button but it doesn't work.

    Make sure that you do not run Firefox in permanent Private Browsing mode.
    *https://support.mozilla.org/kb/Private+Browsing
    To see all History and Cookie settings, choose:
    *Tools > Options > Privacy, choose the setting <b>Firefox will: Use custom settings for history</b>
    *Deselect: [ ] "Always use private browsing mode"

  • Pasted Content doesn't show up on Canvas or is at the very Edge of it

    Since installing AI CC 2014 this Version but also my old CC Copy show the same weird Behaviour:
    1. Copy an Element from the same or a different Layer via Ctrl-C
    2. Paste via Ctrl-V on the same or other Layer - Content doesn't show up or is only pasted at the very Edge of the Canvas. I can see that even when the Paste was "invisible" the File has been changed (* Indicator on File Tab).
    Yes, the Layers are all unlocked, so are the Elements.
    Tried it in various Files.
    I tried resetting Prefs. Nothing ...
    Doesn't matter if I copy only one Element or a Group with many.
    At the Moment my AI Installations are utterly useless.
    Any Ideas?
    W7 / I5 / 8 GByte RAM / SSD

    Thanks Larry!
    I have never used that Setting - I guess it was a reset from the Install.
    You saved my Day.

  • Some flash web content doesn't show up on certain computers

    Hi,
    I've just put up a portfolio website- catmerrick.com- and a
    lot of people are telling me that loaded video and slide shows
    aren't showing up on their computers. It works fine on mine- any
    thoughts as to why this might be, and what problems I should be
    looking for? I would be extremely grateful for your help, and thank
    you for your time...
    Best,
    Cat

    Cat,
    > a lot of people are telling me that loaded video and
    slide
    > shows aren't showing up on their computers. It works
    fine
    > on mine- any thoughts as to why this might be,
    It may be that people who fail to see your content also fail
    to have
    Flash Player 9 (or any version of Flash Player) installed.
    Using something
    like Geoff Stearns' SWFObject, you can very easily display
    default
    content -- such as text or an image -- to let people know
    they need to
    install the plugin. Meanwhile, people have *have* the plugin
    (and a high
    enough version) will automatically see your Flash content.
    http://www.adobe.com/devnet/flash/articles/swfobject.html
    http://blog.deconcept.com/swfobject/
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Pages Table of Contents - doesn't show in sections menu - any ideas?

    Watched the video and it looks simple but when I go to Sections it does not give me the option of choosing Table of Contents. Anyone know if there's something I'm doing wrong?
    Thanks

    Click at the beginning of your document > Menu > Insert > Table of Content
    It only works in a Word Processing document and you select which of the applied Styles you have used in the document. eg Heading 1, Heading 2
    Peter

  • Integration Framework content doesn't show in Windows Server 2008 R2

    I have a new install of B1 8.81 PL06 on Windows Server 2008 R2. All seemed to install fine but when I log into B1 I get the error:
    Error HTTP 500 - Internal Error
    I logged into the Integration Framework to check the SLD and all I see is the menu. I click on a menu item and nothing happens. Does anyone know if there is a Windows Server setting or IE9 setting that is preventing me from seeing the Integration Framework content?
    Thanks.

    I had to activate scripting in Internet Explorer. Problem solved.

  • Make subform visible, content doesn't show

    I have a script that's supposed to make subforms visible based on the selection in 3 DDLs. The script seems to work sort of. The space is there but the actual content of the subform is not visible.
    The subforms are set to Hidden.
    The script is set in the exit event of the third DDL.
    Thanks,
    MDawn

    Hi Margaret,
    In the windsNtwkAccess exit event code at line 298  you need to change
    else if (v1 = '2')
         to
    else if (v1 == '2')
    That is change the equals to a double equals.
    You also have code in the form1.page4.eitEquipment ready:layout event and form1.page4 ready:layout events that seem to duplicate this code and should be removed.
    Regards
    Bruce

  • Photoshop Elements 10 editor lags... doesn't show changes until you click a different tool?

    I've been using PSE for many years now... started in 3, moved to 7, and just upgraded to 10. I got it all installed fine, but when I open a file to edit it in the editor, and make a change (add text, change text, run action, erase something, ANYthing I do to the file) the changes don't show until I click a different tool. This is VERY frustrating and there's no way  will be able to use it if that's just how 10 works... but if it's a preference somehow I can't find it! Anyone know what's going on? I can try to explain further if this doesn't make sense.
    Thanks in advance!
    Maggie

    Try resetting prefernces
    http://help.adobe.com/en_US/PhotoshopElements/8.0/Win/Using/WS3427C0BF-03F8-421b-8CDF-6AC4 D42C9983_WIN.html
    http://www.northlite.net/ps/prefs.htm

  • Downloads doesn't show in Library when click "show all downloads"

    On this newly installed laptop when I clicked on "Show All Downloads", the library pops-up but then it only shows All Bookmarks and nothing else whilst on two other desktop computers it will show History, Downloads, Tags then only All Bookmarks.
    Not sure how to attached the screen captures but I've uninstalled and reinstalled FF 29.0.1 five time to no avail.
    Thanks in advance
    EQ

    You can't attach a screenshot to the first post that starts a thread, but you can do that in subsequent replies.
    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use private browsing mode"
    Can you see any downloads on the about:downloads page?

  • Multicam option doesn't show up when I click on the Wrench icon in the Program monitor there is NO option called "Multi-camera."

    I've created a multi cam sequence and these are my ONLY options. Is that just an option for PC version of Premiere Pro?

    I would take out the internal HDD and install it in an enclosure and connect it to the MBP via USB.  Boot the MBP using startup manager:
    http://support.apple.com/kb/ht1310
    If it fails to boot the MBP, then you may try and verify and repair the HDD with Disk Utility>First Aid using the recovery partition.  If it boots the MBP, you have an internal connection problem.  It could be the cable.  An appointment at an Apple store genius bar would then be the best option to find the exact cause.
    An Apple Hardware Test may provide a clue:
    http://support.apple.com/kb/ht1509
    Note that an error free AHT is not definitive.
    Ciao.

  • Why doesn't it show me the Second Master Page in Adobe Forms ?

    Hi guys,
    I have an Adobe Form that has Two Master Pages. When I call the form through the program, It shows me only Master Page 1, it doesn't show me the Second Master page.
    What's the problem? Why isn't it showing me the second master page? Can someone help me with this?

    If you're using HTTPS-Everywhere you might need to disable Pinterest in there!

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • My MacBook Pro spits out a CD within 30 seconds.  It doesn't show up anywhere.  Help please.

    My MacBook Pro spits out a CD within 30 seconds.  It doesn't show up anywhere.  Help please.

    You can try a commercial lens cleaner.  They are sold everywhere for little expense.
    http://www.walmart.com/ip/Memorex-32020022912/15120287

  • I am trying to set up ICloud on my Ipad.  ICloud doesn't show up as an option in my settings.  Help!  I want to sync all of my content from my IMac to My Ipad

    I am trying to set up ICloud on my Ipad.  ICloud doesn't show up as an option in my settings.  Help!  I want to sync all of my content from my IMac to My Ipad

    Try rebooting the device. It should be in Settings right under General. You may need to go to Settings<General<Reset<Reset All Settings (don't erase data) and setup as a new device. The iCloud login should appear during this step. Just keep setting it up, then go back to settings and see if the iCloud tab appears.

  • I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question).

    I cannot access Content Library in iMovie - Content Library doesn't show on the iMovie screen and is greyed out when accessed through "windows" tab at the top. Also unable to update the projects/events (a suggested solution for a similar question). I haven't had this issue before, I have always used the content library on the screen but haven't used this for about a month. How can I make the Content Library available?

    Thanks so much! I am backing up the entire computer now with an external hard drive - this should be fine right? And surely if I am backing up the whole computer these projects/videos will be backed up too? I wasn't sure how to do this any other way and I am clearly not great with tech issues. Once this is done and I am sure my projects/videos are safe I will do the delete and reinstall bit. Thanks for taking the time to help

Maybe you are looking for