Re: Problem with Swing -.-
hey i found out, that when i do this action in my init of the program everything works fine.
So it has something to do with my buttonevent?!
Cuz only then it doent work -.-...
Re: Problem with Swing -.-
You need to update your label text in the Swing Event dispatch Thread (EDT), not directly from your calculation thread. Swing provides a SwingWorker class you should use for background work that makes updating Swing components on the EDT very simple.
See Concurrency In Swing for a full explanation & tutorial, with examples.
It is a bad plan that admits of no modification...
P. Syrus
Re: Problem with Swing -.-
It works!! =)
You are a god ^^ why havn't i heard of this before?!...
Well, thanks dlorde