diff --git a/src/main/gui/net/sf/jailer/ui/DataModelEditor.java b/src/main/gui/net/sf/jailer/ui/DataModelEditor.java index e9ae39223..e38c3c86c 100644 --- a/src/main/gui/net/sf/jailer/ui/DataModelEditor.java +++ b/src/main/gui/net/sf/jailer/ui/DataModelEditor.java @@ -162,8 +162,8 @@ public DataModelEditor(java.awt.Frame parent, boolean merge, boolean initiallyDi this.dbConnectionDialog = dbConnectionDialog; this.executionContext = executionContext; - final Color BG_COLOR = new Color(0.8f, 1.0f, 0.7f); - final Color BG_SELCOLOR = new Color(0.45f, 0.85f, 1.0f); + final Color BG_COLOR = new Color(124, 255, 178); + final Color BG_SELCOLOR = new Color(115, 217, 255); final Color BG1 = UIUtil.TABLE_BACKGROUND_COLOR_1; final Color BG2 = UIUtil.TABLE_BACKGROUND_COLOR_2; diff --git a/src/main/gui/net/sf/jailer/ui/PendingDecisionsPanel.java b/src/main/gui/net/sf/jailer/ui/PendingDecisionsPanel.java index d35d2f76b..d020e0504 100644 --- a/src/main/gui/net/sf/jailer/ui/PendingDecisionsPanel.java +++ b/src/main/gui/net/sf/jailer/ui/PendingDecisionsPanel.java @@ -70,7 +70,7 @@ public PendingDecisionsPanel(DataModel dataModel, ExtractionModelEditor extracti initComponents(); UIUtil.initComponents(this); DefaultTableCellRenderer associationsListItemRenderer = new DefaultTableCellRenderer() { - final Color BG_SELCOLOR = new Color(0.45f, 0.85f, 1.0f); + final Color BG_SELCOLOR = new Color(115, 217, 255); final Color BG1 = UIUtil.TABLE_BACKGROUND_COLOR_1; final Color BG2 = UIUtil.TABLE_BACKGROUND_COLOR_2; diff --git a/src/main/gui/net/sf/jailer/ui/ProgressTable.java b/src/main/gui/net/sf/jailer/ui/ProgressTable.java index 811cdfb01..7d450e15c 100644 --- a/src/main/gui/net/sf/jailer/ui/ProgressTable.java +++ b/src/main/gui/net/sf/jailer/ui/ProgressTable.java @@ -255,7 +255,7 @@ public Component getTableCellRendererComponent(JTable table, Object value, boole if (p == 0) { f = 0.0f; } - numberRender.setForeground(new Color(f, 0.0f, 0.0f)); + numberRender.setForeground(new Color(0, 0, 0)); } } else { tableRender.setHorizontalAlignment(javax.swing.SwingConstants.LEFT); diff --git a/src/main/gui/net/sf/jailer/ui/RowCountRenderer.java b/src/main/gui/net/sf/jailer/ui/RowCountRenderer.java index 464ec5e8a..9400ddf76 100644 --- a/src/main/gui/net/sf/jailer/ui/RowCountRenderer.java +++ b/src/main/gui/net/sf/jailer/ui/RowCountRenderer.java @@ -71,8 +71,8 @@ public RowCountRenderer(String count, String suffix) { w = Math.max(Math.max(lk.getPreferredSize().width, lm.getPreferredSize().width), lg.getPreferredSize().width); lk.setForeground(FG_COLOR); - lm.setForeground(new Color(6 * 16 + 0, 4 * 16, 0)); - lg.setForeground(new Color(9 * 16 + 6, 0, 6 * 16 + 4)); + lm.setForeground(new Color(96, 64, 0)); + lg.setForeground(new Color(150, 0, 100)); lk.setFont(font); lm.setFont(font); diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java index e9bb4b23b..f867b8c8b 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java @@ -1682,7 +1682,7 @@ private void initIFrame(final JInternalFrame jInternalFrame, String title, final jl.setToolTipText(toolTip); if (l.equals(suffix)) { jl.setFont(jl.getFont().deriveFont(jl.getFont().getStyle() & ~Font.BOLD)); - jl.setForeground(new Color(0, 6 * 16, 0)); + jl.setForeground(new Color(0, 96, 0)); } else { jl.setFont(jl.getFont().deriveFont(jl.getFont().getStyle() | Font.BOLD)); jLabels.add(jl); diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/DesktopOutline.java b/src/main/gui/net/sf/jailer/ui/databrowser/DesktopOutline.java index da4229a0d..446721c29 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/DesktopOutline.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/DesktopOutline.java @@ -378,7 +378,7 @@ public void paint(Graphics g) { nx += stringBounds.getWidth(); } if (browser.getTitleNumber() != null) { - g2d.setColor(new Color(0, 6 * 16, 0)); + g2d.setColor(new Color(0, 96, 0)); g2d.drawString(" /" + browser.getTitleNumber(), nx, ny); } } diff --git a/src/main/gui/net/sf/jailer/ui/databrowser/FullTextSearchPanel.java b/src/main/gui/net/sf/jailer/ui/databrowser/FullTextSearchPanel.java index 344d16c32..443eb7eb7 100644 --- a/src/main/gui/net/sf/jailer/ui/databrowser/FullTextSearchPanel.java +++ b/src/main/gui/net/sf/jailer/ui/databrowser/FullTextSearchPanel.java @@ -503,7 +503,7 @@ public Component markOccurrence(JLabel render, int x, int y) { if (currentPosition != null && currentPosition == x + y * table.getColumnCount()) { JPanel panel = new JPanel(null) { - Border border = new LineBorder(new Color(0, 11 * 16, 0), 1, true); + Border border = new LineBorder(new Color(0, 176, 0), 1, true); @Override public void paint(Graphics graphics) {