The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.



Posted by Chin Loong on December 01, 2001 at 2:40 PM

use a class .. probably called InitImage that implements Runnable that u can pass variables i and j into its constructor. The constructor will then call the

public void run()
to load the specific image.

wrong wrong.. i mean the constructor will init and set certain variables that would be refered by the public void run() to load the specific images. u can use Thread t=new Thread(new InitImage()); t.start();. any other opinions? did i get anything wrong?


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us