source: src/main/java/genius/gui/tree/JLabelCellRenderer.java@ 346

Last change on this file since 346 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
Line 
1package genius.gui.tree;
2
3import java.awt.Component;
4
5import javax.swing.*;
6import javax.swing.table.*;
7
8/**
9*
10* @author Richard Noorlandt
11*
12*/
13
14
15public 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.