The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
December 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.


Using swing components in a java applet

Posted by Matt Gerrans on December 13, 2001 at 2:12 PM

You are just missing a little old x; try this:
import javax.swing.JApplet;

> Hi Java boys !
> I want to use swing components in my java applet. How may I do this ?
> If do a "import" for example, my compiler does not recognize this package. Is there any means to do what I want ?
> Oliv :-)


Sponsored Links

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