Search Results

Search found 2 results on 1 pages for 'guilgamos'.

Page 1/1 | 1 

  • How to change the text int JLabel under the while or for loop?

    - by guilgamos
    I want to create a simple clock by using java. The code is very simply that i will give an example shown below for(int i=0;i<=60;i++) jLabel11.setText( Integer.toString(i) ); The problem is while I'm running my program the result didn't show the update in sequence. I mean it show only 60 digit immediately. It didn't show the change from 1 to 2 to 3 ... something like this. How can i fix this problem. Thank you in advance.

    Read the article

1