Results 1 to 2 of 2
- 05-25-2012, 04:22 PM #1
Member
- Join Date
- Jan 2012
- Posts
- 14
- Rep Power
- 0
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
- 05-25-2012, 04:36 PM #2
Re: Trouble with JMenuBar in applets on Safari on Mac
Intermittent behavior in a Swing GUI is often related to concurrency issues. Does your code totally respect Swing's single threaded rule?The behavior seems to be somewhat intermittent
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
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
Safari and Firefox applets stop working when laptop closed and opened again
By pseeburger in forum Java AppletsReplies: 0Last Post: 05-24-2012, 10:08 PM -
Safari & Chrome Problem - Please Help! New to Java
By azonicds2 in forum New To JavaReplies: 2Last Post: 03-23-2012, 04:06 PM -
Having Trouble with Keyboard Input with Applets
By cg2916 in forum New To JavaReplies: 8Last Post: 02-03-2012, 12:24 AM -
Safari browser not logging off
By satyan in forum Java AppletsReplies: 1Last Post: 08-09-2011, 09:40 AM -
JxBrowser 2.0 now integrates Java with Mozilla Gecko, Internet Explorer and Safari
By TeamDev in forum Java SoftwareReplies: 0Last Post: 12-24-2009, 12:37 PM


LinkBack URL
About LinkBacks

Bookmarks