I am using netbeans to write a database copy program.
I have dropped a jtextarea inside a jscrollpane to use as a progress log. Everything runs inside a run-button clicked event. My problem is that the log is not displayed as it is written but everything comes out when the run-button event is exited.
Do i have to set up a separate thread to run the process?
I have dropped a jtextarea inside a jscrollpane to use as a progress log. Everything runs inside a run-button clicked event. My problem is that the log is not displayed as it is written but everything comes out when the run-button event is exited.
Do i have to set up a separate thread to run the process?