Skip to content
This repository has been archived by the owner on Apr 16, 2022. It is now read-only.

Commit

Permalink
Removed setForeground from Details button in FormTransferTable Fixes #25
Browse files Browse the repository at this point in the history
" (#46)
  • Loading branch information
anakiou authored and lognaturel committed Dec 31, 2016
1 parent 4929f07 commit 7f7b0d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/org/opendatakit/briefcase/ui/FormTransferTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,8 @@ public class JTableButtonRenderer implements TableCellRenderer {
@Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
JButton button = (JButton)value;
if (isSelected) {
button.setForeground(table.getSelectionForeground());
button.setBackground(table.getSelectionBackground());
} else {
button.setForeground(table.getForeground());
button.setBackground(UIManager.getColor("Button.background"));
}
return button;
Expand Down

0 comments on commit 7f7b0d7

Please sign in to comment.