[Patchanim-commit] SF.net SVN: patchanim:[265] trunk/patchanim/src/com/mebigfatguy/patchanim/ gui/J
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2008-12-28 06:06:31
|
Revision: 265
http://patchanim.svn.sourceforge.net/patchanim/?rev=265&view=rev
Author: dbrosius
Date: 2008-12-28 06:06:28 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
too painful to shutdown test on defocus. Figure out another way to fix the breakage when number of patches changes.
Modified Paths:
--------------
trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JTestFrame.java
Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JTestFrame.java
===================================================================
--- trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JTestFrame.java 2008-12-26 05:32:38 UTC (rev 264)
+++ trunk/patchanim/src/com/mebigfatguy/patchanim/gui/JTestFrame.java 2008-12-28 06:06:28 UTC (rev 265)
@@ -21,8 +21,6 @@
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Graphics;
-import java.awt.event.FocusAdapter;
-import java.awt.event.FocusEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.image.BufferedImage;
@@ -117,15 +115,6 @@
dispose();
}
});
-
- this.addFocusListener(new FocusAdapter() {
- @Override
- public void focusLost(FocusEvent e) {
- super.focusLost(e);
- endAnimation();
- dispose();
- }
- });
}
class TestPanel extends JPanel {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|