Skip to content

Commit

Permalink
JBDS-4152 - set selected background color to white in the JBtables in…
Browse files Browse the repository at this point in the history
… the Additional Features and Runtime panels
  • Loading branch information
Paul Leacu committed Nov 16, 2016
1 parent 9d88cb2 commit bf8c451
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.jboss.devstudio.core.installer;

import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
Expand Down Expand Up @@ -72,7 +73,8 @@ public P2IUListPanel(LocaleDatabase langpack, List<P2IU> defaultIUs, List<P2IU>
this.langpack = langpack;

table = new JTable(new P2IUListTableModel());


table.setSelectionBackground(Color.white);
table.getColumnModel().getColumn(1).setPreferredWidth(440);
table.getColumnModel().getColumn(1).setMinWidth(440);
table.getColumnModel().getColumn(0).setPreferredWidth(110);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

package com.jboss.devstudio.core.installer;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
Expand Down Expand Up @@ -64,7 +65,8 @@ public RuntimeServerListPanel(LocaleDatabase langpack, List<RuntimeServer> defau
this.langpack = langpack;

table = new JTable(new RuntimeServerListTableModel());


table.setSelectionBackground(Color.white);
table.getColumnModel().getColumn(1).setPreferredWidth(440);
table.getColumnModel().getColumn(1).setMinWidth(440);
table.getColumnModel().getColumn(0).setPreferredWidth(110);
Expand Down

0 comments on commit bf8c451

Please sign in to comment.