Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

Animated JWindow

Thu Dec 09, 2010 6:15 pm

Code:
import javax.swing.JWindow;

public class Test extends JWindow{

    public Test(){
        super();
       
        setVisible(true);
    }

    public static void main(String args[]){
        Test app = new Test();
        for(int i = 10; i <400; i++){
            app.setBounds(100 - (i/2), 300 -(i/2), i, i);
        }
    }
}


Try this, this allows to open Window in a whole in way!



Re: Animated JWindow

Thu Dec 09, 2010 10:02 pm

or JFrame ?

Re: Animated JWindow

Fri Dec 10, 2010 2:28 pm

msi_333 wrote:or JFrame ?


Yeah JFrame works too.

Post a reply
  Related Posts  to : Animated JWindow
 animated 3D logo     -  
 Animated banner by flash     -