Updating JLabel

Hi all,

I've been searching around on how to achieve this as Im doing a tetris game, Im just a few steps away in completing my first java game.

Right now, I have a JLabel scoreLabel, responsible for updating scores for the game. However, I can't update the score into my scoreLabel as the game proceeds.

Any idea on how I can achieve this? Many thanks in advance.

[392 byte] By [sai1sga] at [2007-11-27 2:12:31]
# 1
So what do you try to do that fails? An example of your code could be helpful.I'm guessing you are doing a setText and you see no result. Is this the case?
pthorsona at 2007-7-12 2:06:57 > top of Java-index,Desktop,Core GUI APIs...
# 2
You probably declared the label twice. Once as a global variable and once as a local variable.
camickra at 2007-7-12 2:06:57 > top of Java-index,Desktop,Core GUI APIs...