Author: remi
Date: 2009-07-03 19:03:43 +0200 (Fri, 03 Jul 2009)
New Revision: 5041

Modified:
   
software_suite_v3/software/tool/tool-attitunes-studio/trunk/src/MainFrame.java
Log:
* Force the frame to be on the top. (The only way to force the application to 
be on front of webbrowsers ...)

Modified: 
software_suite_v3/software/tool/tool-attitunes-studio/trunk/src/MainFrame.java
===================================================================
--- 
software_suite_v3/software/tool/tool-attitunes-studio/trunk/src/MainFrame.java  
    2009-07-03 16:10:05 UTC (rev 5040)
+++ 
software_suite_v3/software/tool/tool-attitunes-studio/trunk/src/MainFrame.java  
    2009-07-03 17:03:43 UTC (rev 5041)
@@ -107,7 +107,11 @@
                this.setResizable(false);
                //this.pack();
                TuxAPIMisc.sleep(0.15);
-               this.setVisible(true); 
+               this.setVisible(true);
+        /* Force the frame to be on the top in the os */
+        this.setAlwaysOnTop(true);
+        TuxAPIMisc.sleep(0.05);
+        this.setAlwaysOnTop(false);
         
         if (path == null)
                {


------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to