Commit gui vollständig
parent
e7d038920f
commit
f82ea79a77
|
|
@ -7,6 +7,7 @@ import java.awt.Font;
|
||||||
import java.awt.GridLayout;
|
import java.awt.GridLayout;
|
||||||
import java.awt.event.ActionEvent;
|
import java.awt.event.ActionEvent;
|
||||||
import java.awt.event.ActionListener;
|
import java.awt.event.ActionListener;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import javax.swing.JButton;
|
import javax.swing.JButton;
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,6 @@ public class TicTacToe {
|
||||||
if(pruefeBelegtesFeld(ausgewaehltesFeld)) throw new Exception();
|
if(pruefeBelegtesFeld(ausgewaehltesFeld)) throw new Exception();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("Es wurde keine passende Eingabe getätigt,\nversuchen Sie es erneut...");
|
System.out.println("Es wurde keine passende Eingabe getätigt,\nversuchen Sie es erneut...");
|
||||||
//e.printStackTrace();
|
|
||||||
erfasseEingabe();
|
erfasseEingabe();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ public class main {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue