commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r731385 - /commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
Date Sun, 04 Jan 2009 23:30:15 GMT
Author: sebb
Date: Sun Jan  4 15:30:05 2009
New Revision: 731385

URL: http://svn.apache.org/viewvc?rev=731385&view=rev
Log:
Replace deprecated show() method with suggested alternative

Modified:
    commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java

Modified: commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
URL: http://svn.apache.org/viewvc/commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java?rev=731385&r1=731384&r2=731385&view=diff
==============================================================================
--- commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
(original)
+++ commons/proper/scxml/branches/J6/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
Sun Jan  4 15:30:05 2009
@@ -108,7 +108,7 @@
         setIconImage(watchIcon);
         setResizable(false);
         setSize(300,125);
-        show();
+        setVisible(true);
         setDefaultCloseOperation(EXIT_ON_CLOSE);
         Timer displayTimer = new Timer();
         displayTimer.scheduleAtFixedRate(new TimerTask() {



Mime
View raw message