View Full Version : java applet package

April 12th, 2009, 09:33 AM
can someone tell me what package i have to install to start using the java applet class?
right now, whenever i do put following statement:
import java.awt.applet.*;
I get a compilation error. Thanks!

April 12th, 2009, 09:48 AM
I don't know that there is a specific package for it. I just installed openjdk6 and I was good to go.

April 12th, 2009, 10:05 AM
There is no applet package in awt. I think you want:-

import java.applet.Applet;