Example #1
0
 private void mouseUp(MouseEvent e = null)
 {
     mousePressed       = false;
     mouseReleasedCount = frameCount;
     // this is how you bypass security restrictions on method calls that require a MouseEvent to validate
     if (UIManager.mousePressedCallback != null)
     {
         UIManager.mousePressedCallback();
         UIManager.mousePressedCallback = null;
     }
 }
Example #2
0
 public static void closeDialog()
 {
     dialog = null;
 }