OSDN Git Service

プログレスバーの選択時色変更をやめる
[coroid/inqubus.git] / frontend / src / yukihane / inqubus / gui / TargetsColumnModel.java
index 1279fab..2518f69 100644 (file)
@@ -67,11 +67,6 @@ class ProgressRenderer extends DefaultTableCellRenderer {
             return super.getTableCellRendererComponent(table, p.getText(), isSelected, hasFocus, row, column);
         }
 
-        final Color fore = (isSelected) ? table.getSelectionForeground() : table.getForeground();
-        final Color back = (isSelected) ? table.getSelectionBackground() : table.getBackground();
-        progressBar.setForeground(fore);
-        progressBar.setBackground(back);
-
         progressBar.setValue(percent);
         progressBar.setString(p.getText());
         return progressBar;