git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
color chooser widget
[nikiroo-utils.git]
/
src
/
jexer
/
io
/
SwingScreen.java
diff --git
a/src/jexer/io/SwingScreen.java
b/src/jexer/io/SwingScreen.java
index 1b3d8a409c26fdc3bd8129916ae201aeb74dee0f..cdca714bb1cff6765144cc381c5bfef20ae6c16c 100644
(file)
--- a/
src/jexer/io/SwingScreen.java
+++ b/
src/jexer/io/SwingScreen.java
@@
-1,4
+1,4
@@
-/*
*
+/*
* Jexer - Java Text User Interface
*
* License: LGPLv3 or later
* Jexer - Java Text User Interface
*
* License: LGPLv3 or later
@@
-519,6
+519,8
@@
public final class SwingScreen extends Screen {
Cell lCell = screen.logical[cursorX][cursorY];
gr.setColor(attrToForegroundColor(lCell));
switch (cursorStyle) {
Cell lCell = screen.logical[cursorX][cursorY];
gr.setColor(attrToForegroundColor(lCell));
switch (cursorStyle) {
+ default:
+ // Fall through...
case UNDERLINE:
gr.fillRect(xPixel, yPixel + textHeight - 2,
textWidth, 2);
case UNDERLINE:
gr.fillRect(xPixel, yPixel + textHeight - 2,
textWidth, 2);
@@
-571,7
+573,7
@@
public final class SwingScreen extends Screen {
SwingScreen.this.frame.resizeToScreen();
SwingScreen.this.frame.setVisible(true);
}
SwingScreen.this.frame.resizeToScreen();
SwingScreen.this.frame.setVisible(true);
}
- }
);
+ });
} catch (Exception e) {
e.printStackTrace();
}
} catch (Exception e) {
e.printStackTrace();
}