harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r618281 - /harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java
Date Mon, 04 Feb 2008 13:41:34 GMT
Author: apetrenko
Date: Mon Feb  4 05:41:34 2008
New Revision: 618281

URL: http://svn.apache.org/viewvc?rev=618281&view=rev
Log:
Patch for HARMONY-5454 "[jdktools][appletviewer] appletviewer's menu 
item "close" doesn't close appletviewer frame."

Modified:
    harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java

Modified: harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java?rev=618281&r1=618280&r2=618281&view=diff
==============================================================================
--- harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java
(original)
+++ harmony/enhanced/jdktools/trunk/modules/tools/src/main/java/org/apache/harmony/tools/appletviewer/AppletFrame.java
Mon Feb  4 05:41:34 2008
@@ -138,7 +138,8 @@
         }
     	
         public void actionPerformed(ActionEvent e) {
-            setVisible(false);
+            AppletFrame.this.processWindowEvent(
+                new WindowEvent(AppletFrame.this, WindowEvent.WINDOW_CLOSING));
         }
     }
     



Mime
View raw message