← Back to team overview

sikuli-driver team mailing list archive

[Bug 965046] Re: Run the Swing example, Sikuli will be quit with closing JFrame.

 

The standard behavior of a Java program, when the main frame is closed,
is to exit the JVM. So if you want to use JFrames in the Sikuli IDE, you
have to manage the close button yourself.

If you only want to produce your own popups, use JOptionPane instead.

I do not think, that this is a Sikuli "bug".

** Changed in: sikuli
       Status: New => Opinion

** Summary changed:

- Run the Swing example, Sikuli will be quit with closing JFrame.
+ IDE: using JFrame: clicking close button will end IDE

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/965046

Title:
  IDE: using JFrame: clicking close button will end IDE

Status in Sikuli:
  Opinion

Bug description:
  OS: windows XP sp3 - Chinese Simplified ,  MacOS X -10.7 - English

  1. Launch Sikuli.
  2. Run the script in Simple Swing examples section from webpage http://wiki.python.org/jython/SwingExamples.
  3. Close the popup frame "Hello world".

  Sikuli will be quit with the Frame.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/965046/+subscriptions


References