01: package org.jacorb.naming.namemanager;
02:
03: import javax.swing.*;
04: import javax.swing.tree.*;
05: import java.awt.*;
06: import javax.swing.table.*;
07:
08: /**
09: *
10: */
11: public class NSTableCellRenderer extends DefaultTableCellRenderer {
12: public Component getTableCellRendererComponent(JTable table,
13: Object color, boolean isSelected, boolean hasFocus,
14: int row, int column) {
15: super.getTableCellRendererComponent(table, color, isSelected,
16: hasFocus, row, column);
17: setForeground(Color.blue);
18: return this;
19: }
20: }
|