@@ -175,8 +175,7 @@ private String setButtonOrLink(JButton button, String desc, String label, String
175
175
return retString ;
176
176
}
177
177
178
- void update (JTable parentTable , Object value , boolean isSelected ,
179
- boolean hasBuiltInRelease ) {
178
+ void update (JTable parentTable , Object value , boolean hasBuiltInRelease ) {
180
179
ContributedPlatformReleases releases = (ContributedPlatformReleases ) value ;
181
180
182
181
JTextPane description = makeNewDescription ();
@@ -262,7 +261,6 @@ void update(JTable parentTable, Object value, boolean isSelected,
262
261
description .setText (desc );
263
262
// copy description to accessibility context for screen readers to use
264
263
description .getAccessibleContext ().setAccessibleDescription (desc );
265
- description .setBackground (Color .WHITE );
266
264
267
265
// for modelToView to work, the text area has to be sized. It doesn't
268
266
// matter if it's visible or not.
@@ -272,14 +270,6 @@ void update(JTable parentTable, Object value, boolean isSelected,
272
270
int width = parentTable .getBounds ().width ;
273
271
InstallerTableCell .setJTextPaneDimensionToFitContainedText (description ,
274
272
width );
275
-
276
- if (isSelected ) {
277
- setBackground (parentTable .getSelectionBackground ());
278
- setForeground (parentTable .getSelectionForeground ());
279
- } else {
280
- setBackground (parentTable .getBackground ());
281
- setForeground (parentTable .getForeground ());
282
- }
283
273
}
284
274
285
275
private JTextPane makeNewDescription () {
0 commit comments