make the timeout display more nicely, increase size
All checks were successful
/ Build & Publish (push) Successful in 44s

This commit is contained in:
Daniella / Tove 2024-06-25 09:07:20 +02:00
parent 6032a97ca2
commit f9b3081d3e
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -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<CBCallbackContainer> list = options.peek();
for (int i = 0; i < list.size(); i++) {