Skip to content

Commit

Permalink
libs: switched to GUI-Framework 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Darmo117 committed Aug 30, 2017
1 parent 09daea4 commit ab2266b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="lib" path="libs/GUI-Framework-1.3.1.jar" sourcepath="/GUI-Framework/src/main/java"/>
<classpathentry kind="lib" path="libs/GUI-Framework-1.4.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
// The production code uses the SLF4J logging API at compile time
compile 'org.slf4j:slf4j-api:1.7.21'
// GUI-Framework
compile files('libs/GUI-Framework-1.3.1.jar')
compile files('libs/GUI-Framework-1.4.jar')
// JUnit
testCompile 'junit:junit:4.12'
}
Binary file not shown.
5 changes: 3 additions & 2 deletions src/main/java/net/darmo_creations/minesweeper/Start.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import java.util.Locale;

import net.darmo_creations.gui_framework.ApplicationRegistry;
import net.darmo_creations.gui_framework.GuiFramework;
import net.darmo_creations.gui_framework.config.Language;

public class Start {
Expand All @@ -33,7 +34,7 @@ public static void main(String[] args) {
l.add(new Language("Esperanto", new Locale("eo")));

ApplicationRegistry.setLanguages(l);
ApplicationRegistry.registerApplication(new Minesweeper());
net.darmo_creations.gui_framework.Start.run();
ApplicationRegistry.registerApplication(Minesweeper.class);
GuiFramework.run();
}
}

0 comments on commit ab2266b

Please sign in to comment.