* @author Jim Procter and Andrew Waterhouse
*
*/
+@SuppressWarnings("serial")
public class EmbmenuFrame extends Frame implements MouseListener
{
protected static final Font FONT_ARIAL_PLAIN_11 = new Font("Arial",
return false;
}
// DEBUG Hint: can test embedded menus by inserting true here.
- if (Platform.isAMac())
+ if (Platform.isAMacAndNotJS())
{
// Build the embedded menu panel, allowing override with system font
embeddedMenu = makeEmbeddedPopupMenu(topMenuBar, true, false);