Results 1 to 2 of 2
  1. #1
    pseeburger is offline Member
    Join Date
    Jan 2012
    Posts
    14
    Rep Power
    0

    Default Trouble with JMenuBar in applets on Safari on Mac

    I had posted a related question about a problem I have had with the JMenuBar on Firefox on the Mac. See: Java Applet trouble with Menus in Firefox on Mac.

    Recently I have started seeing a different problem with the JMenuBar in my applet on Safari on the Mac. These issues are probably related, but the behavior is much different on Safari. Instead of just not allowing the menu to work as happens on Firefox, in Safari, the menu bar appears normally at the top, but when you click on one of the top menus the submenu appears at the bottom of the screen (in about the right horizontal position) instead of dropping down where it should appear. Then when you do move the mouse down to it, you can still use it, but the highlighting does not appear on the items as you move the mouse up and down the menu. The behavior seems to be somewhat intermittent, that is, it sometimes works correctly. I am still trying to determine if there is a pattern to when it behaves this way.

    Has anyone else seen this behavior? Any ideas about how to address it?

    Here is a direct link to a menu applet on my website for which there is code in my related thread above (in response #8): Example Menu Applet

    Here is a direct link to my main applet, a visualization applet for learning multivariable calculus: CalcPlot3D
    Thanks for any suggestions you may have!

    Paul

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,256
    Rep Power
    19

    Default Re: Trouble with JMenuBar in applets on Safari on Mac

    The behavior seems to be somewhat intermittent
    Intermittent behavior in a Swing GUI is often related to concurrency issues. Does your code totally respect Swing's single threaded rule?
    Threads and Swing
    The Last Word in Swing Threads
    The Single Thread Rule in Swing | Java.net
    Will the real Swing Single Threading Rule please stand up? bitguru blog

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 0
    Last Post: 05-24-2012, 10:08 PM
  2. Safari & Chrome Problem - Please Help! New to Java
    By azonicds2 in forum New To Java
    Replies: 2
    Last Post: 03-23-2012, 04:06 PM
  3. Having Trouble with Keyboard Input with Applets
    By cg2916 in forum New To Java
    Replies: 8
    Last Post: 02-03-2012, 12:24 AM
  4. Safari browser not logging off
    By satyan in forum Java Applets
    Replies: 1
    Last Post: 08-09-2011, 09:40 AM
  5. Replies: 0
    Last Post: 12-24-2009, 12:37 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •