updating problem - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

updating problem

Pierced1Pierced1 Posts: 14Member
I want to give visual feedback to the user of the program while it's running but i can't get it to work.

When i try for example jLabel.setText("whatever"); it only updates after the whole program has completed (same for textFields).

The program is started from a jLabel that acts like a button inside a JFrame, and the jLabels i want to update are inside the same JFrame(it's an standalone app).

The processor level is at 48% while running so it's not that.
One more thing, if i minimize the program while it's running and i flip it to visual again while it's still running it remains black until the whole code has been executed completely and then turns back to normal viewing.

i would appreciate any help on the matter.
Sign In or Register to comment.