Browse Source

refactoring: replace special character

master
Leon Montag 2 years ago
parent
commit
c8f32a3f81
  1. 2
      src/main/java/Gui/GameGui.java
  2. 2
      src/main/java/Gui/gui.java
  3. 2
      src/test/java/Gui/guiTest.java
  4. 18
      target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
  5. 6
      target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst

2
src/main/java/Gui/GameGui.java

@ -71,7 +71,7 @@ GridBagConstraints gbc;
@Override @Override
public void createHeadline() { public void createHeadline() {
Headline = new JLabel("Wer wird Millionär?");
Headline = new JLabel("Wer wird Millionaer?");
headingPanel.add(Headline); headingPanel.add(Headline);
MainPanel.add(headingPanel); MainPanel.add(headingPanel);
Headline.setHorizontalAlignment(JLabel.CENTER); Headline.setHorizontalAlignment(JLabel.CENTER);

2
src/main/java/Gui/gui.java

@ -37,7 +37,7 @@ public class gui implements GuiInterface {
public void createButtons() { public void createButtons() {
StartBtn = new JButton("Starte Spiel"); StartBtn = new JButton("Starte Spiel");
StartBtn.addActionListener(new StartGameGui()); StartBtn.addActionListener(new StartGameGui());
CloseBtn = new JButton("Schließen");
CloseBtn = new JButton("Schliessen");
CloseBtn.addActionListener(new ActionHandler()); CloseBtn.addActionListener(new ActionHandler());
} }

2
src/test/java/Gui/guiTest.java

@ -28,7 +28,7 @@ class guiTest {
public void testCreateButtons() { public void testCreateButtons() {
// arrange // arrange
String Start = "Starte Spiel"; String Start = "Starte Spiel";
String Close = "Schließen";
String Close = "Schliessen";
// act // act
String StartTarget = gui.StartBtn.getText(); String StartTarget = gui.StartBtn.getText();

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

@ -1,9 +1,9 @@
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GuiInterface.java
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GameGuiInterface.java
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\gui.java
C:\Users\ozan_\MiniGameProject\src\main\java\game\loadNextQuestion.java
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\ActionHandler.java
C:\Users\ozan_\MiniGameProject\src\main\java\main.java
C:\Users\ozan_\MiniGameProject\src\main\java\game\runGame.java
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\StartGameGui.java
C:\Users\ozan_\MiniGameProject\src\main\java\Gui\GameGui.java
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\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

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

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