We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43eb7d6 commit 0b14583Copy full SHA for 0b14583
jar/javagame.jar
2.99 KB
src/com/redomar/game/Game.java
@@ -11,6 +11,7 @@
11
12
import javax.swing.JFrame;
13
import javax.swing.JOptionPane;
14
+import javax.swing.UIManager;
15
16
import org.apache.commons.lang3.text.WordUtils;
17
@@ -265,6 +266,7 @@ public static void main(String[] args) {
265
266
Thread.sleep(250);
267
splash.setProgress(92, "Aquring data: Multiplayer");
268
Thread.sleep(125);
269
+ UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
270
Jdata_Host = JOptionPane.showConfirmDialog(getGame(), "Do you want to be the HOST?");
271
if (Jdata_Host == 1){
272
Jdata_IP = JOptionPane.showInputDialog(getGame(), "Enter the name \nleave blank for local");
0 commit comments