private void launchDialog() {
if (dialogLaunchDelay == 0) {
showWindow(new DialogToLaunch());
return;
}
start(new Timer(dialogLaunchDelay, new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
showWindow(new DialogToLaunch());
}
}));