Changeset 17828

Show
Ignore:
Timestamp:
12.11.2008 14:08:14 (11 years ago)
Author:
oranfry
Message:

finish button to stay disabled until install finished

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/uninstaller/Uninstaller.java

    r17805 r17828  
    6161    FollowingJTextArea log; 
    6262    JButton uninstallButton; 
     63    JButton finishButton; 
    6364 
    6465    boolean confirmationGiven = false; 
     
    106107        //finish toolbar 
    107108        finishToolbar = new JPanel(); 
    108         JButton finishButton = new JButton(bundle.getString("uninstaller.finish")); 
     109        finishButton = new JButton(bundle.getString("uninstaller.finish")); 
    109110        finishButton.addActionListener( new FinishListener() ); 
     111        finishButton.setEnabled( false ); 
    110112        finishToolbar.add( finishButton ); 
    111113 
     
    160162 
    161163        doUninstall(); 
     164        finishButton.setEnabled( true ); 
    162165 
    163166    }