Browse Source

refactoring: disable user to edit main text area

master
Yazan Alaamer 2 years ago
parent
commit
b2075bbab3
  1. 1
      src/main/java/game/StartDarkSoulsGame.java
  2. 20
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  3. 10
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

1
src/main/java/game/StartDarkSoulsGame.java

@ -84,6 +84,7 @@ public class StartDarkSoulsGame {
mainTextArea.setForeground(Color.white);
mainTextArea.setFont(normalFont);
mainTextArea.setLineWrap(true);
mainTextArea.setEditable(false);
mainTextPanel.add(mainTextArea);
choiceButtonPanel = new JPanel();

20
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

@ -1,10 +1,10 @@
C:\Users\Leon\MiniGameProject\src\main\java\Gui\ActionHandler.java
C:\Users\Leon\MiniGameProject\src\main\java\game\loadNextQuestion.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGuiInterface.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\gui.java
C:\Users\Leon\MiniGameProject\src\main\java\game\runGame.java
C:\Users\Leon\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java
C:\Users\Leon\MiniGameProject\src\main\java\main.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\StartGameGui.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GameGui.java
C:\Users\Leon\MiniGameProject\src\main\java\Gui\GuiInterface.java
C:\Users\yazan\MiniGameProject\src\main\java\game\StartDarkSoulsGame.java
C:\Users\yazan\MiniGameProject\src\main\java\game\runGame.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\gui.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\StartGameGui.java
C:\Users\yazan\MiniGameProject\src\main\java\game\loadNextQuestion.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\ActionHandler.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\GameGui.java
C:\Users\yazan\MiniGameProject\src\main\java\main.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\GameGuiInterface.java
C:\Users\yazan\MiniGameProject\src\main\java\Gui\GuiInterface.java

10
target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

@ -1,5 +1,5 @@
C:\Users\Leon\MiniGameProject\src\test\java\Gui\guiTest.java
C:\Users\Leon\MiniGameProject\src\test\java\game\loadNextQuestionTest.java
C:\Users\Leon\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java
C:\Users\Leon\MiniGameProject\src\test\java\Gui\GameGuiTest.java
C:\Users\Leon\MiniGameProject\src\test\java\game\runGameTest.java
C:\Users\yazan\MiniGameProject\src\test\java\game\loadNextQuestionTest.java
C:\Users\yazan\MiniGameProject\src\test\java\Gui\guiTest.java
C:\Users\yazan\MiniGameProject\src\test\java\Gui\GameGuiTest.java
C:\Users\yazan\MiniGameProject\src\test\java\game\runGameTest.java
C:\Users\yazan\MiniGameProject\src\test\java\Gui\ActionHandlerTest.java
Loading…
Cancel
Save