[1097] in java-interest

home help back first fref pref prev next nref lref last post

Re: java-interest-digest V1 #120

daemon@ATHENA.MIT.EDU (Jim Carroll)
Fri Aug 18 17:13:04 1995

From: Jim Carroll <jim@carroll.com>
To: java-interest@java.sun.com
Date: Fri, 18 Aug 95 14:10:03 EDT
In-Reply-To: <199508161419.HAA23682@webrunner.neato.org>; from "owner-java-interest-digest@java.sun.com" at Aug 16, 95 7:19 am

> 	    MyFrame=new Frame (MyWServer,true,false,null,300,300,Color.gray);
> 	    MyFrame.setTitle ("Graphics Test Frame");
> 	    
>             MyWindow=new Window ( MyFrame,"Center",Color.white,200,200);
> 
> 	    MyGraphics = new Graphics (MyWindow);   
> 	    MyFrame.map ();
> 	    for (int c=1;c++<1000;); //wait till frame is setup
 
 I am just coming onboard to Java programming, and have been quietly reading 
 the posts.  I saw the above piece of code, and stopped dead in my tracks.  

 What is the purpose of this:

> 	    for (int c=1;c++<1000;); //wait till frame is setup

 How can you know how long it takes to loop 1000 times  in  an  architecture 
 independant environment?
 
-- 
Jim C.                 |
201-488-1332 voice     | C a r r o l l - N e t
201-487-5717 dialup    | Bergen County, NJ's Premier Internet Access Provider
http://www.carroll.com |
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post