import static org.testng.Assert.assertFalse;
import static org.testng.Assert.assertTrue;
+import jalview.bin.Jalview;
import jalview.gui.JvOptionPane;
import java.awt.Button;
import java.awt.Event;
+import java.awt.Toolkit;
import java.awt.event.MouseEvent;
import org.testng.annotations.BeforeClass;
int buttonNo = MouseEvent.BUTTON1;
boolean mac = true;
+ assertFalse(Jalview.isHeadlessMode());
+ Toolkit toolkit = Toolkit.getDefaultToolkit();
+ System.err.println("Toolkit is " + toolkit.getClass().getName());
+ System.err.println("getMenuShortcutKeyMask is "
+ + toolkit.getMenuShortcutKeyMask());
+
int mods = 0;
// not concerned with MouseEvent id, when, x, y, xAbs, yAbs values
assertFalse(Platform.isControlDown(new MouseEvent(b, 0, 0L, mods, 0, 0,