use of com.biglybt.ui.swt.wizard.WizardListener in project BiglyBT by BiglySoftware.
the class SpeedTestPanel method finish.
@Override
public void finish() {
test_running = true;
clListener = new WizardListener() {
@Override
public void closed() {
cancel();
}
};
wizard.addListener(clListener);
wizard.setFinishEnabled(false);
// convert to mode
final int test_mode = NetworkAdminSpeedTester.TEST_TYPES[testCombo.getSelectionIndex()];
final boolean encState = encryptToggle.getSelection();
Thread t = new AEThread("SpeedTest Performer") {
@Override
public void runSupport() {
runTest(test_mode, encState);
}
};
t.setPriority(Thread.MIN_PRIORITY);
t.setDaemon(true);
t.start();
}
Aggregations