Tic Tak Toe Neu
This commit is contained in:
parent
a24ce779eb
commit
cb9fb46082
|
@ -187,3 +187,114 @@ java.awt.IllegalComponentStateException: component must be showing on the screen
|
|||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
Sep. 03, 2020 10:05:59 VORM. javafx.scene.CssStyleHelper calculateValue
|
||||
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files/BlueJ/lib/javafx/lib/javafx.controls.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
|
||||
ExtensionWrapper.safePostGenGetMenuItem: Class=org.bluej.UMLextension.UMLExtension Exception=component must be showing on the screen to determine its location
|
||||
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2101)
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2075)
|
||||
at org.bluej.UMLextension.MenuBuilder.notifyPostClassMenu(MenuBuilder.java:48)
|
||||
at bluej.extmgr.ClassExtensionMenu.postMenuItem(ClassExtensionMenu.java:66)
|
||||
at bluej.extensions.BlueJ.postMenuItem(BlueJ.java:964)
|
||||
at bluej.extensions.ExtensionBridge.postMenuItem(ExtensionBridge.java:142)
|
||||
at bluej.extmgr.ExtensionWrapper.safePostMenuItem(ExtensionWrapper.java:673)
|
||||
at bluej.extmgr.FXMenuManager.lambda$menuWillBecomeVisible$5(FXMenuManager.java:196)
|
||||
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
|
||||
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
|
||||
at java.desktop/java.awt.EventQueue$4$1.run(EventQueue.java:727)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
|
||||
at java.base/java.security.AccessController.doPrivileged(Native Method)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
|
||||
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
|
||||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
ExtensionWrapper.safePostGenGetMenuItem: Class=org.bluej.UMLextension.UMLExtension Exception=component must be showing on the screen to determine its location
|
||||
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2101)
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2075)
|
||||
at org.bluej.UMLextension.MenuBuilder.notifyPostClassMenu(MenuBuilder.java:48)
|
||||
at bluej.extmgr.ClassExtensionMenu.postMenuItem(ClassExtensionMenu.java:66)
|
||||
at bluej.extensions.BlueJ.postMenuItem(BlueJ.java:964)
|
||||
at bluej.extensions.ExtensionBridge.postMenuItem(ExtensionBridge.java:142)
|
||||
at bluej.extmgr.ExtensionWrapper.safePostMenuItem(ExtensionWrapper.java:673)
|
||||
at bluej.extmgr.FXMenuManager.lambda$menuWillBecomeVisible$5(FXMenuManager.java:196)
|
||||
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
|
||||
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
|
||||
at java.desktop/java.awt.EventQueue$4$1.run(EventQueue.java:727)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
|
||||
at java.base/java.security.AccessController.doPrivileged(Native Method)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
|
||||
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
|
||||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
ExtensionWrapper.safePostGenGetMenuItem: Class=org.bluej.UMLextension.UMLExtension Exception=component must be showing on the screen to determine its location
|
||||
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2101)
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2075)
|
||||
at org.bluej.UMLextension.MenuBuilder.notifyPostClassMenu(MenuBuilder.java:48)
|
||||
at bluej.extmgr.ClassExtensionMenu.postMenuItem(ClassExtensionMenu.java:66)
|
||||
at bluej.extensions.BlueJ.postMenuItem(BlueJ.java:964)
|
||||
at bluej.extensions.ExtensionBridge.postMenuItem(ExtensionBridge.java:142)
|
||||
at bluej.extmgr.ExtensionWrapper.safePostMenuItem(ExtensionWrapper.java:673)
|
||||
at bluej.extmgr.FXMenuManager.lambda$menuWillBecomeVisible$5(FXMenuManager.java:196)
|
||||
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
|
||||
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
|
||||
at java.desktop/java.awt.EventQueue$4$1.run(EventQueue.java:727)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
|
||||
at java.base/java.security.AccessController.doPrivileged(Native Method)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
|
||||
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
|
||||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
Sep. 03, 2020 10:30:04 VORM. javafx.scene.CssStyleHelper calculateValue
|
||||
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files/BlueJ/lib/javafx/lib/javafx.controls.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
|
||||
Sep. 03, 2020 10:30:04 VORM. javafx.scene.CssStyleHelper calculateValue
|
||||
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files/BlueJ/lib/javafx/lib/javafx.controls.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
|
||||
Sep. 03, 2020 10:30:04 VORM. javafx.scene.CssStyleHelper calculateValue
|
||||
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files/BlueJ/lib/javafx/lib/javafx.controls.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
|
||||
Sep. 03, 2020 10:30:04 VORM. javafx.scene.CssStyleHelper calculateValue
|
||||
WARNING: Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/C:/Program%20Files/BlueJ/lib/javafx/lib/javafx.controls.jar!/com/sun/javafx/scene/control/skin/modena/modena.bss
|
||||
ExtensionWrapper.safePostGenGetMenuItem: Class=org.bluej.UMLextension.UMLExtension Exception=component must be showing on the screen to determine its location
|
||||
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2101)
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2075)
|
||||
at org.bluej.UMLextension.MenuBuilder.notifyPostClassMenu(MenuBuilder.java:48)
|
||||
at bluej.extmgr.ClassExtensionMenu.postMenuItem(ClassExtensionMenu.java:66)
|
||||
at bluej.extensions.BlueJ.postMenuItem(BlueJ.java:964)
|
||||
at bluej.extensions.ExtensionBridge.postMenuItem(ExtensionBridge.java:142)
|
||||
at bluej.extmgr.ExtensionWrapper.safePostMenuItem(ExtensionWrapper.java:673)
|
||||
at bluej.extmgr.FXMenuManager.lambda$menuWillBecomeVisible$5(FXMenuManager.java:196)
|
||||
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
|
||||
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
|
||||
at java.desktop/java.awt.EventQueue$4$1.run(EventQueue.java:727)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
|
||||
at java.base/java.security.AccessController.doPrivileged(Native Method)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
|
||||
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
|
||||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
ExtensionWrapper.safePostGenGetMenuItem: Class=org.bluej.UMLextension.UMLExtension Exception=component must be showing on the screen to determine its location
|
||||
java.awt.IllegalComponentStateException: component must be showing on the screen to determine its location
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen_NoTreeLock(Component.java:2101)
|
||||
at java.desktop/java.awt.Component.getLocationOnScreen(Component.java:2075)
|
||||
at org.bluej.UMLextension.MenuBuilder.notifyPostClassMenu(MenuBuilder.java:48)
|
||||
at bluej.extmgr.ClassExtensionMenu.postMenuItem(ClassExtensionMenu.java:66)
|
||||
at bluej.extensions.BlueJ.postMenuItem(BlueJ.java:964)
|
||||
at bluej.extensions.ExtensionBridge.postMenuItem(ExtensionBridge.java:142)
|
||||
at bluej.extmgr.ExtensionWrapper.safePostMenuItem(ExtensionWrapper.java:673)
|
||||
at bluej.extmgr.FXMenuManager.lambda$menuWillBecomeVisible$5(FXMenuManager.java:196)
|
||||
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
|
||||
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
|
||||
at java.desktop/java.awt.EventQueue$4$1.run(EventQueue.java:727)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)
|
||||
at java.base/java.security.AccessController.doPrivileged(Native Method)
|
||||
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)
|
||||
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
|
||||
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
|
||||
at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)
|
||||
at java.base/java.lang.Thread.run(Thread.java:834)
|
||||
Simple GUI Extension terminates
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#BlueJ-Eigenschaften. Einstellungen in dieser Datei haben Vorrang vor "bluej.defs"
|
||||
#Thu Sep 03 09:54:53 CEST 2020
|
||||
#Thu Sep 03 10:32:42 CEST 2020
|
||||
session.numeditors.stride=0
|
||||
bluej.uid=f5dfac60-0904-43b9-a46c-a52ff418d0a3
|
||||
bluej.latest.msg=2020-06-01
|
||||
bluej.openPackage1=H\:\\Dokumente\\Tik-Tak-Toe-Projekt\\Tik_Tak_Toe
|
||||
bluej.editor.stride.sidebarShowing=true
|
||||
bluej.startWithTextEval=false
|
||||
bluej.recentProject0=H\:\\Dokumente\\Tik-Tak-Toe-Projekt\\Tik_Tak_Toe
|
||||
|
@ -11,4 +12,4 @@ bluej.editor.fontsize=13
|
|||
extensions.org.bluej.extensions.submitter.Submitter.settings.saslrealm=
|
||||
bluej.terminal.y=16
|
||||
bluej.terminal.x=16
|
||||
session.numeditors.java=0
|
||||
session.numeditors.java=2
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +1,2 @@
|
|||
#Moe-Editor-Eigenschaften. Einstellungen in dieser Datei haben Vorrang vor "moe.defs"
|
||||
#Thu Sep 03 09:52:51 CEST 2020
|
||||
#Thu Sep 03 10:32:42 CEST 2020
|
||||
|
|
Binary file not shown.
|
@ -1,7 +0,0 @@
|
|||
#BlueJ class context
|
||||
comment0.target=Kreis
|
||||
comment0.text=\r\n\ Beschreiben\ Sie\ hier\ die\ Klasse\ Kreis.\r\n\ \r\n\ @author\ (Ihr\ Name)\ \r\n\ @version\ (eine\ Versionsnummer\ oder\ ein\ Datum)\r\n
|
||||
comment1.params=
|
||||
comment1.target=Kreis()
|
||||
comment1.text=\r\n\ Konstruktor\ f\u00FCr\ Objekte\ der\ Klasse\ Kreis\r\n
|
||||
numComments=2
|
|
@ -1,24 +0,0 @@
|
|||
|
||||
|
||||
/**
|
||||
* Beschreiben Sie hier die Klasse Kreis.
|
||||
*
|
||||
* @author (Ihr Name)
|
||||
* @version (eine Versionsnummer oder ein Datum)
|
||||
*/
|
||||
public class Kreis {
|
||||
|
||||
// Attribute
|
||||
// Implementieren sie hier die Attribute der Klasse
|
||||
|
||||
/**
|
||||
* Konstruktor für Objekte der Klasse Kreis
|
||||
*/
|
||||
public Kreis() {
|
||||
// ggf. Instanzvariable initialisieren
|
||||
}
|
||||
|
||||
// Methoden
|
||||
// Implementieren sie hier die Methoden der Klasse
|
||||
|
||||
}
|
Binary file not shown.
|
@ -1,7 +0,0 @@
|
|||
#BlueJ class context
|
||||
comment0.target=Kreuz
|
||||
comment0.text=\r\n\ Beschreiben\ Sie\ hier\ die\ Klasse\ Kreuz.\r\n\ \r\n\ @author\ (Ihr\ Name)\ \r\n\ @version\ (eine\ Versionsnummer\ oder\ ein\ Datum)\r\n
|
||||
comment1.params=
|
||||
comment1.target=Kreuz()
|
||||
comment1.text=\r\n\ Konstruktor\ f\u00FCr\ Objekte\ der\ Klasse\ Kreuz\r\n
|
||||
numComments=2
|
|
@ -1,24 +0,0 @@
|
|||
|
||||
|
||||
/**
|
||||
* Beschreiben Sie hier die Klasse Kreuz.
|
||||
*
|
||||
* @author (Ihr Name)
|
||||
* @version (eine Versionsnummer oder ein Datum)
|
||||
*/
|
||||
public class Kreuz {
|
||||
|
||||
// Attribute
|
||||
// Implementieren sie hier die Attribute der Klasse
|
||||
|
||||
/**
|
||||
* Konstruktor für Objekte der Klasse Kreuz
|
||||
*/
|
||||
public Kreuz() {
|
||||
// ggf. Instanzvariable initialisieren
|
||||
}
|
||||
|
||||
// Methoden
|
||||
// Implementieren sie hier die Methoden der Klasse
|
||||
|
||||
}
|
|
@ -8,17 +8,45 @@
|
|||
*/
|
||||
public class Spieler {
|
||||
|
||||
Spieler spieler1;
|
||||
// Attribute
|
||||
// Implementieren sie hier die Attribute der Klasse
|
||||
|
||||
/**
|
||||
* Konstruktor für Objekte der Klasse Spieler
|
||||
*/
|
||||
public Spieler() {
|
||||
// ggf. Instanzvariable initialisieren
|
||||
}
|
||||
|
||||
// Methoden
|
||||
// Implementieren sie hier die Methoden der Klasse
|
||||
public Spieler()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public boolean won()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public boolean istDran()
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public void siege()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void niederlagen()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void kd()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void zug()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
|
@ -4,4 +4,12 @@ comment0.text=\r\n\ Beschreiben\ Sie\ hier\ die\ Klasse\ Tik_Tak_Toe.\r\n\ \r\n\
|
|||
comment1.params=
|
||||
comment1.target=Tik_Tak_Toe()
|
||||
comment1.text=\r\n\ Konstruktor\ f\u00FCr\ Objekte\ der\ Klasse\ Tik_Tak_Toe\r\n
|
||||
numComments=2
|
||||
comment2.params=
|
||||
comment2.target=void\ startGame()
|
||||
comment3.params=
|
||||
comment3.target=void\ endGame()
|
||||
comment4.params=
|
||||
comment4.target=void\ setzteKreis()
|
||||
comment5.params=
|
||||
comment5.target=void\ setzeKreuz()
|
||||
numComments=6
|
||||
|
|
|
@ -7,17 +7,33 @@
|
|||
* @version (eine Versionsnummer oder ein Datum)
|
||||
*/
|
||||
public class Tik_Tak_Toe {
|
||||
|
||||
// Attribute
|
||||
// Implementieren sie hier die Attribute der Klasse
|
||||
|
||||
/**
|
||||
* Konstruktor für Objekte der Klasse Tik_Tak_Toe
|
||||
*/
|
||||
public Tik_Tak_Toe() {
|
||||
// ggf. Instanzvariable initialisieren
|
||||
public Tik_Tak_Toe()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void startGame()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void endGame()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void setzteKreis()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void setzeKreuz()
|
||||
{
|
||||
|
||||
}
|
||||
// Methoden
|
||||
// Implementieren sie hier die Methoden der Klasse
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#BlueJ package file
|
||||
editor.fx.0.height=0
|
||||
editor.fx.0.width=0
|
||||
editor.fx.0.x=0
|
||||
editor.fx.0.y=0
|
||||
editor.fx.0.height=1000
|
||||
editor.fx.0.width=1296
|
||||
editor.fx.0.x=-8
|
||||
editor.fx.0.y=-8
|
||||
objectbench.height=173
|
||||
objectbench.width=1256
|
||||
package.divider.horizontal=0.6
|
||||
|
@ -14,7 +14,7 @@ package.editor.y=0
|
|||
package.frame.height=1000
|
||||
package.frame.width=1296
|
||||
package.numDependencies=0
|
||||
package.numTargets=4
|
||||
package.numTargets=2
|
||||
package.showExtends=true
|
||||
package.showUses=true
|
||||
project.charset=UTF-8
|
||||
|
@ -23,31 +23,17 @@ readme.name=@README
|
|||
readme.width=47
|
||||
readme.x=10
|
||||
readme.y=10
|
||||
target1.height=50
|
||||
target1.height=100
|
||||
target1.name=Tik_Tak_Toe
|
||||
target1.showInterface=false
|
||||
target1.type=ClassTarget
|
||||
target1.width=100
|
||||
target1.x=320
|
||||
target1.y=100
|
||||
target2.height=50
|
||||
target2.name=Kreuz
|
||||
target1.width=150
|
||||
target1.x=340
|
||||
target1.y=30
|
||||
target2.height=40
|
||||
target2.name=Spieler
|
||||
target2.showInterface=false
|
||||
target2.type=ClassTarget
|
||||
target2.width=80
|
||||
target2.x=240
|
||||
target2.y=400
|
||||
target3.height=50
|
||||
target3.name=Spieler
|
||||
target3.showInterface=false
|
||||
target3.type=ClassTarget
|
||||
target3.width=80
|
||||
target3.x=330
|
||||
target3.y=230
|
||||
target4.height=50
|
||||
target4.name=Kreis
|
||||
target4.showInterface=false
|
||||
target4.type=ClassTarget
|
||||
target4.width=80
|
||||
target4.x=460
|
||||
target4.y=400
|
||||
target2.width=150
|
||||
target2.x=340
|
||||
target2.y=270
|
||||
|
|
Loading…
Reference in New Issue