make the timeout display more nicely, increase size
All checks were successful
/ Build & Publish (push) Successful in 44s
All checks were successful
/ Build & Publish (push) Successful in 44s
This commit is contained in:
parent
6032a97ca2
commit
f9b3081d3e
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class CBWindow extends JFrame implements WindowListener {
|
||||||
this.timeout = timeout;
|
this.timeout = timeout;
|
||||||
add(new RootComponent());
|
add(new RootComponent());
|
||||||
getContentPane().setBackground(new Color(0x303030));
|
getContentPane().setBackground(new Color(0x303030));
|
||||||
setSize(600, 400);
|
setSize(800, 600);
|
||||||
setTitle(name);
|
setTitle(name);
|
||||||
setResizable(false);
|
setResizable(false);
|
||||||
setLocation(20, 20);
|
setLocation(20, 20);
|
||||||
|
@ -137,6 +137,7 @@ public class CBWindow extends JFrame implements WindowListener {
|
||||||
if(openLock.timeLeft() != Long.MAX_VALUE) {
|
if(openLock.timeLeft() != Long.MAX_VALUE) {
|
||||||
g.drawString("Continuing in " + openLock.timeLeft() / 1000 + "s...", 5, y);
|
g.drawString("Continuing in " + openLock.timeLeft() / 1000 + "s...", 5, y);
|
||||||
}
|
}
|
||||||
|
y += 10;
|
||||||
|
|
||||||
List<CBCallbackContainer> list = options.peek();
|
List<CBCallbackContainer> list = options.peek();
|
||||||
for (int i = 0; i < list.size(); i++) {
|
for (int i = 0; i < list.size(); i++) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue