diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/BrowserContentPane.java b/src/main/gui/net/sf/jailer/ui/databrowser/BrowserContentPane.java index ac03a475d..c0e7baa15 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/BrowserContentPane.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/BrowserContentPane.java @@ -1724,7 +1724,7 @@ && isPKComplete(type, r) && !rowIdSupport.getPrimaryKey(type, BrowserContentPane render.setName("final"); } ((JLabel) render).setForeground( - renderRowAsPK || pkColumns.contains(convertedColumnIndex) || (pkColumnsConsole.contains(convertedColumnIndex) && !fkColumnsConsole.contains(convertedColumnIndex)) ? FG1 : + renderRowAsPK || pkColumns.contains(convertedColumnIndex) || (pkColumnsConsole.contains(convertedColumnIndex) /* && !fkColumnsConsole.contains(convertedColumnIndex) */)? FG1 : fkColumns.contains(convertedColumnIndex) || fkColumnsConsole.contains(convertedColumnIndex) ? FG2 : Color.BLACK); boolean isNull = false; @@ -5869,7 +5869,7 @@ public Component getTableCellRendererComponent(JTable table, Object value, boole try { dontPaintSortIcon = ignoreSortKey; int convertedColumnIndex = rowsTable.convertColumnIndexToModel(column); - Color fg = pkColumns.contains(convertedColumnIndex) || (pkColumnsConsole.contains(convertedColumnIndex) && !fkColumnsConsole.contains(convertedColumnIndex)) ? UIUtil.FG_PK : + Color fg = pkColumns.contains(convertedColumnIndex) || (pkColumnsConsole.contains(convertedColumnIndex) /* && !fkColumnsConsole.contains(convertedColumnIndex) */) ? UIUtil.FG_PK : fkColumns.contains(convertedColumnIndex) || fkColumnsConsole.contains(convertedColumnIndex) ? UIUtil.FG_FK : null; Component render = origRenderer.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); if (fg != null) {