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

Last change on this file since 126 was 126, checked in by Aron Hammond, 6 years ago

Added function to calculate opposition to MultiLateralAnalysis.java

Moved code to add RLBOA listeners to RLBOAUtils is misc package

Added input for strategyParameters to SessionPanel (gui)

!! close SessionInfo after tournament; this caused /tmp/ to fill up with GeniusData files

Our own package:

  • Added opponents and strategies that are mentioned in the report
  • Change class hierarchy, agents can now extend from RLBOAagentBilateral to inherit RL functionality.
  • States extend from AbstractState
File size: 466 bytes
RevLine 
[126]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.