View Single Post
  #4 (permalink)  
Old 11-02-2007, 02:28 PM
unhurt unhurt is offline
Member
 
Join Date: Oct 2007
Posts: 21
unhurt is on a distinguished road
hey JavaBean do u know why as i can't run the applet on the web or compile and run the .java file from

Lightweight Components
under round button

i keep getting this

J:\Java\test>javac ExampleApplet.java
ExampleApplet.java:35: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button1 = new RoundButton("Button 1");
^
ExampleApplet.java:35: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button1 = new RoundButton("Button 1");
^
ExampleApplet.java:38: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button2 = new RoundButton("Button 2");
^
ExampleApplet.java:38: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button2 = new RoundButton("Button 2");
^
ExampleApplet.java:41: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button3 = new RoundButton("Java is Cool!");
^
ExampleApplet.java:41: cannot find symbol
symbol : class RoundButton
location: class actual.ExampleApplet
RoundButton button3 = new RoundButton("Java is Cool!");
^
6 errors

as long as i have the
package actual;
and
import actual.*;

what am i suppose to do to run them??
Reply With Quote