I have a loop that counts down form any x number(say its 100)!
So i can display countdown in real time but in console!
I cant figure it out, how can i put it so it displays on my JLabel! I tried instead System.out , i tried to put JLabel.setText(), but it throws me nullpointExeption!
What am i doing wrong?
You've got a bug, but where or how, we can't guess without code.
The NPE should tell you which line caused it to be thrown, and you can use that information to your advantage by going to that line, studying it, and trying to figure out which objects are being used on that line and how one of them hasn't been initialized and is throwing the NPE.
You may wish to show us your code, or at least the relevant portions.
Also, you may wish to be careful with the use of the term "real time" as it doesn't quite mean what you think it does.