From f9b3081d3e49779424ecc5f34ddb841206835c7d Mon Sep 17 00:00:00 2001 From: TudbuT Date: Tue, 25 Jun 2024 09:07:20 +0200 Subject: [PATCH] make the timeout display more nicely, increase size --- src/main/java/de/com/baseband/clientboot/CBWindow.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/com/baseband/clientboot/CBWindow.java b/src/main/java/de/com/baseband/clientboot/CBWindow.java index 853d31e..8560280 100644 --- a/src/main/java/de/com/baseband/clientboot/CBWindow.java +++ b/src/main/java/de/com/baseband/clientboot/CBWindow.java @@ -28,7 +28,7 @@ public class CBWindow extends JFrame implements WindowListener { this.timeout = timeout; add(new RootComponent()); getContentPane().setBackground(new Color(0x303030)); - setSize(600, 400); + setSize(800, 600); setTitle(name); setResizable(false); setLocation(20, 20); @@ -137,6 +137,7 @@ public class CBWindow extends JFrame implements WindowListener { if(openLock.timeLeft() != Long.MAX_VALUE) { g.drawString("Continuing in " + openLock.timeLeft() / 1000 + "s...", 5, y); } + y += 10; List list = options.peek(); for (int i = 0; i < list.size(); i++) {