View Single Post
  #1 (permalink)  
Old 01-30-2008, 11:00 PM
geork's Avatar
geork geork is offline
Member
 
Join Date: Jan 2008
Posts: 14
geork is on a distinguished road
problem with JLabels
hi!
this is my first time writing, and i need some help.
i want to be able to make a JLabel in which i can store a value (such as int) which i can add one or subtract one from. it doesn't seem to like:
JLabel score = new JLabel(num);
int num = 5;
i probabely have done soemthing really stupid or missed soemthing out but hey! i'm new to java.
if you can help me: thank you so much, because i am really confused.
cyas
Reply With Quote
Sponsored Links