Total members 11894 |It is currently Thu Nov 21, 2024 5:54 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





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!



_________________
Coding my life with Java, PHP, JavaScript, and Python


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 time

or JFrame ?

_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time

msi_333 wrote:
or JFrame ?


Yeah JFrame works too.

_________________
Coding my life with Java, PHP, JavaScript, and Python


Author:
Newbie
User avatar Posts: 39
Have thanks: 15 time
Post new topic Reply to topic  [ 3 posts ] 

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









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com