Linked Questions

Popular Questions

I have some work to be done in background where I do display a JFrame with progress bar in it, i need to dispose the JFrame when the swingworker has finished, dont know where to dispose it

 private void formWindowOpened(java.awt.event.WindowEvent evt) {                                  


public void Start(){
    SwingWorker<Boolean , Integer> worker = new SwingWorker<Boolean , Integer>(){
        protected Boolean doInBackground() throws Exception {
          // work .....
          return true;

        protected void done() {



Related Questions