librejack

Blackjack clone written in java
git clone https://github.com/michaelneuper/librejack.git
README | Files | Log | Refs | LICENSE

commit 84938b7f24f0e2409ddeb5207d5378260200405d
parent 253e6b198b5c01d2ff70a3f788d9efb54aee71d0
Author: Michael Neuper <michael@michaelneuper.com>
Date:   Mon,  1 May 2023 20:46:41 +0200

Handle UnsupportedLookAndFeelException

Diffstat:
Msrc/view/MainUI.java | 1+
Msrc/view/SignupUI.java | 1+
2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/view/MainUI.java b/src/view/MainUI.java @@ -426,6 +426,7 @@ public class MainUI extends javax.swing.JFrame { try { UIManager.setLookAndFeel(new FlatDarkLaf()); } catch (UnsupportedLookAndFeelException e) { + System.err.println(e); } /* Create and display the form */ diff --git a/src/view/SignupUI.java b/src/view/SignupUI.java @@ -374,6 +374,7 @@ public class SignupUI extends javax.swing.JFrame { try { UIManager.setLookAndFeel(new FlatDarkLaf()); } catch (UnsupportedLookAndFeelException e) { + System.err.println(e); } /* Create and display the form */