Skip to content

Commit

Permalink
Improved display of column values
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Wisser committed Dec 10, 2024
1 parent 81feeab commit 834a4c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1716,7 +1716,7 @@ && isPKComplete(type, r) && !rowIdSupport.getPrimaryKey(type, BrowserContentPane
Colors.Color_0_0_0);
boolean isNull = false;
if (((JLabel) render).getText() == UIUtil.NULL || ((JLabel) render).getText() == UNKNOWN) {
((JLabel) render).setForeground(Colors.Color_128_128_128);
((JLabel) render).setForeground(Colors.Color_153_153_153);
((JLabel) render).setText(" null ");
((JLabel) render).setFont(italic);
isNull = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ public Dimension getPreferredSize() {
}
};
Object obj = columnValue.get(column);
label.setForeground(obj == null? Colors.Color_128_128_128 : Colors.Color_0_0_0);
label.setForeground(obj == null? Colors.Color_153_153_153 : Colors.Color_0_0_0);
if (obj == null) {
label.setFont(italic);
}
Expand Down

0 comments on commit 834a4c3

Please sign in to comment.