McFly
public text v1 · immutablepublic class Kitt
{
Thread th1;
ImageFetcher imageF;
Wrapper w;
FrameClass f;
public static void main(String args[])
{
Kitt k = new Kitt();
}
public Kitt() {
w = new Wrapper();
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
f = new FrameClass();
f.setVisible(true);
f.listModel.insertElementAt("test", 0); //I need to do this elsewhere also
}
});
imageF = new ImageFetcher(w);
th1 = new Thread(imageF);
th1.start();
}
}