Skip to content

Commit cffd290

Browse files
exclude border from painted background area
1 parent 16709e5 commit cffd290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerTextArea.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RunnerTextArea extends JTextArea implements FocusListener{
2222

2323
// use value of JTextField for consistency
2424
g.color = UIManager.getColor("TextField.inactiveBackground")
25-
g.fillRect(0, 0, width, height)
25+
g.fillRect(3, 3, width - 6, height - 6)
2626

2727
// do rest, changing opaque to ensure background is not overwritten
2828
setOpaque(false)

0 commit comments

Comments
 (0)