jodi clark

Greenhorn
+ Follow
since Jul 13, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by jodi clark

Im new to java and the whole java swing/awt thing....i have the following code but am obviously missing something and dont get what it is. Any help would be GREATLY appreciated =0)




i get the following errors:

C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:19: cannot resolve symbol
symbol : class JCheckbox
location: class extra
public JCheckbox ch1, ch2, ch3, ch4, ch5, ch6, ch7, ch8;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:33: cannot resolve symbol
symbol : class JCheckBoxListener
location: class extra
JCheckBoxListener cblistener = new JCheckBoxListener();
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:33: cannot resolve symbol
symbol : class JCheckBoxListener
location: class extra
JCheckBoxListener cblistener = new JCheckBoxListener();
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:35: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch1 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:36: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch2 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:37: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch3 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:38: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch4 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:39: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch5 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:40: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch6 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:41: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch7 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:42: cannot resolve symbol
symbol : constructor JCheckBox (boolean)
location: class javax.swing.JCheckBox
ch8 = new JCheckBox(true);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:54: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch1=new JCheckBox ("CB-CAT5E-1 1M CAT.5E UTP CABLE RJ45M",cbox,false);
^

C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:58: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch2=new JCheckBox ("CB-CAT5E-10 10M CAT.5E UTP CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:62: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch3=new JCheckBox("CB-CAT6-1 1M AT6 UTP CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:66: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch4= new JCheckBox("CB-CAT6-10 10M CAT6 UTP CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:70: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch5=new JCheckBox("CB-CAT5ECS-2 2M CAT.5E UTP CROSSOVER CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:74: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch6=new JCheckBox("CB-CAT5ECS-10 10M CAT.5E UTP CROSSOVER CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:78: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch7=new JCheckBox("CB-CAT6CS-2 2M CAT6 UTP CROSSOVER CABLE RJ45M", cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:82: cannot resolve symbol
symbol : constructor JCheckBox (java.lang.String,java.awt.CheckboxGroup,boolean)
location: class javax.swing.JCheckBox
ch8=new JCheckBox("CB-CAT6CS-10 10M CAT6 UTP CROSSOVER CABLE RJ45M",cbox, false);
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:160: incompatible types
found : double
required: javax.swing.JTextField
answer = 2.86;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:163: incompatible types
found : double
required: javax.swing.JTextField
answer =12.98;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:166: incompatible types
found : double
required: javax.swing.JTextField
answer = 6.60;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:169: incompatible types
found : double
required: javax.swing.JTextField
answer = 16.34;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:172: incompatible types
found : double
required: javax.swing.JTextField
answer = 4.40;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:175: incompatible types
found : double
required: javax.swing.JTextField
answer = 14.30;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:178: incompatible types
found : double
required: javax.swing.JTextField
answer = 19.60;
^
C:\Documents and Settings\Jodi\My Documents\TAFE Stuff\Programming\Java\Major Assignment\extra.java:181: incompatible types
found : double
required: javax.swing.JTextField
answer = 35.60;
19 years ago
Yes tyvm, it is =0)
19 years ago
thank you all for ur assistance
19 years ago
i understand what ur saying....but i think my brain has farted :roll: and im now totally clueless on what to do? Could you give me a further hint?
19 years ago
Thanks Uwe....

ok so this is what i have now....6 hours in to it
i cant end my loops...they're infinite...just keep going and going and going.
how does one stop the darn things?

19 years ago
=0) thanks

{

this code now gives me the following error, did i delete something i shouldn't have?

[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ July 13, 2004: Message edited by: Dirk Schreckmann ]
19 years ago
ugh...totally missed that.
Thanks
19 years ago
:roll:

ummm which one, where? did i happen to mention i was clueless?
19 years ago
thanks for your reply....the following is the error msg i get


Process completed.

[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ July 13, 2004: Message edited by: Dirk Schreckmann ]
19 years ago
Hey all,

im very new to java and have no idea why the following code wont work. Any suggestions would be muchly appreciated =0)

[ edited to preserve formatting using the [code] and [/code] UBB tags -ds ]
[ July 13, 2004: Message edited by: Dirk Schreckmann ]
19 years ago