Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.
// Change the test indicator, before the test is done, indicating test in progress jlblTestResultDisp.setText("<html><font color = black> TESTING</font></html>");
Nothing happens at this point!
jlblTestResultDisp.validate(); jlblTestResultDisp.repaint(); this.validate(); // where 'this' refers to the jFrame this.repaint();
When the exitVal comes back from the process, which several seconds later that's only when the jFrame refreshes. until then the jFrame is just 'hanging in there', after pushing the test button nothing shows up
Runtime rt = Runtime.getRuntime(); .... Process proc = rt.exec(testScriptToRun); ... int exitVal = proc.waitFor();
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.