|VB refugee seeks equivalent to application.doevents() [message #799644]
||Thu, 16 February 2012 01:00
| David Straayer
Registered: February 2012
I've been working in Java for a couple of years now, and did a lot of hacking in VB in days of yore. Delighted to see Windows Builder bring similar ease of development for GUI applications.
Here is my problem: I got a simple WB application up and running, but the screen isn't fully built when my program is off reading and parsing files. I want it to display its window and update JLabels on it as it runs, without ever the user interacting with it. In VB, I'd just call application.doevents() any time I want to ensure that all events have been processed and the window is fully updated.
Basically, when I start my application, I want it to display its window, and update JLabels on its window as it uses java.util.prefs.Preferences and interacts with files, without any user interaction except for the program launch.
If this isn't clear enough (I'm hoping fellow VB refugees have faced and dealt with this issue), perhaps I can explain more tomorrow.
Any help would be appreciated.