Last change
on this file since 345 was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
489 bytes
|
Rev | Line | |
---|
[127] | 1 | package genius.gui.tree;
|
---|
| 2 |
|
---|
| 3 | import java.awt.Component;
|
---|
| 4 |
|
---|
| 5 | import javax.swing.*;
|
---|
| 6 | import javax.swing.table.*;
|
---|
| 7 |
|
---|
| 8 | /**
|
---|
| 9 | *
|
---|
| 10 | * @author Richard Noorlandt
|
---|
| 11 | *
|
---|
| 12 | */
|
---|
| 13 |
|
---|
| 14 |
|
---|
| 15 | public class JLabelCellRenderer extends DefaultTableCellRenderer {
|
---|
| 16 |
|
---|
| 17 | private static final long serialVersionUID = -7404919591801844083L;
|
---|
| 18 |
|
---|
| 19 | //Methods
|
---|
| 20 | public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
|
---|
| 21 | return (Component)value;
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.