Thread thread0 = deineThreadListe.get(0);
thread0.start();
public void buttonStart() {
String name_thread = name_text.getText();
int time = Integer.parseInt(time_text.getText());
threadList.add(new WaitingThread(name_thread, time));
WaitingThread thread0 = threadList.get(0);
thread0.start();
}
WaitingThread thread = new WaitingThread(name_thread, time);
threadList.add(thread);
thread.start();