Skip to content

Commit

Permalink
changed color
Browse files Browse the repository at this point in the history
  • Loading branch information
Wisser committed Jun 7, 2024
1 parent 3c66a94 commit fbe5137
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/main/gui/net/sf/jailer/ui/DataModelEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/main/gui/net/sf/jailer/ui/PendingDecisionsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/main/gui/net/sf/jailer/ui/ProgressTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/main/gui/net/sf/jailer/ui/RowCountRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/main/gui/net/sf/jailer/ui/databrowser/Desktop.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fbe5137

Please sign in to comment.