Skip to content

Commit

Permalink
17.96
Browse files Browse the repository at this point in the history
sun.java2d.noddraw=true
sun.java2d.d3d=false
  • Loading branch information
tonikelope committed Sep 8, 2024
1 parent aa481b9 commit 495537d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Helpers {
public volatile static Font GUI_FONT = null;

public static void deleteDirectory(String path) {
try ( var dirStream = Files.walk(Paths.get(path))) {
try (var dirStream = Files.walk(Paths.get(path))) {
dirStream.map(Path::toFile).sorted(Comparator.reverseOrder()).forEach(File::delete);
} catch (IOException ex) {
Logger.getLogger(Helpers.class.getName()).log(Level.SEVERE, null, ex);
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.tonikelope</groupId>
<artifactId>CoronaPoker</artifactId>
<version>17.95</version>
<version>17.96</version>
<packaging>jar</packaging>
<build>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/tonikelope/coronapoker/AboutDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
*/
public class AboutDialog extends javax.swing.JDialog {

public static final String VERSION = "17.95";
public static final String VERSION = "17.96";
public static final String UPDATE_URL = "https://github.com/tonikelope/coronapoker/releases/latest";
public static final String TITLE = "¿De dónde ha salido esto?";
public static final int MAX_MOD_LOGO_HEIGHT = 75;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/tonikelope/coronapoker/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,10 @@ public static void main(String args[]) {

INIT = true;

System.setProperty("sun.java2d.noddraw", "true");

System.setProperty("sun.java2d.d3d", "false");

Helpers.threadRun(() -> {

//Deadlock detection
Expand Down

0 comments on commit 495537d

Please sign in to comment.