Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Applets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Applets
CheckBox()
Arun Maalik
Ranch Hand
Posts: 216
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
import java.awt.*;
import java.applet.*;
public class first extends Applet{
CheckBox chk=new CheckBox();
public void init(){
add(Chk);
}
}
Dear sir in the above code , genrating compile time error like that
Can't resolve Symble Class CheckBox Location first?
why? Although i m using jdk1.3 and name of constructor is absolute right then why sir why???
Ulf Dittmer
Rancher
Posts: 43081
77
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Capitalization of classes, methods and fields matters in
Java
- there is no class called
CheckBox
, only one called
Checkbox
.
Arun Maalik
Ranch Hand
Posts: 216
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks sir actualy it is given n my book that CheckBox(); I have understood.
Arun kumar maalik
Ulf Dittmer
Rancher
Posts: 43081
77
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Be sure to let the publisher know about this, so that it can be corrected in the next printing of the book.
Don't get me started about those stupid
light bulbs
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
AWT- Abhilash Mock
why this error
error unchecked call to addElement in vector
Java ambigious method calling doubt
Applet
More...