From: Matthias S. <mat...@st...> - 2000-11-07 22:42:25
|
hello I have an applet up and running but when I tried to run it from an application , it didn't work :-( this is the code i added in my applet: public static void main(String[] args) { Frame myFrame = new Frame("Voronoi"); myFrame.addWindowListener( new WindowAdapter(){ public void windowClosing(WindowEvent e){ applet.stop(); applet.destroy(); System.exit(0); } }); myFrame.setSize(640,480); applet = new Voronoiapplet(); applet.setSize(640,480); applet.init(); applet.start(); myFrame.setVisible(true); } it uses a jar file i use vj++ so the arguments for jview are: /p /cp:p "<JAVAPACKAGES>" Voronoiapplet i believe <javapackages> refers to the classpath var so the jar shouldn't be a problem since I included it in the classpath the only thing I see is an empty white frame! does anybody see the problem? thanks mattie |