Hi James,
yes this could be possible, maybe one solution could be to make your own TableCellRenderer.
You have to do this by making a new class, maybe you could use a JLable as SuperClass, and you must Implement the Interface TableCellRenderer. You first have to search for this class via the menu
Project->References(Classpath)
and then add it by checking the checkmark in front of TableCellRenderer
in your new class type:
|
Jabaco Source
|
1
|
Implements TableCellRenderer
|
Jabaco then automatically will add the following function to your class:
|
Jabaco Source
|
1
2
3
|
Public Function getTableCellRendererComponent(arg2 As JTable, arg3 As Object, arg4 As Boolean, arg5 As Boolean, arg6 As Integer, arg7 As Integer) As Component
End Function
|
and you have to add this line to this function:
|
Jabaco Source
|
1
|
getTableCellRendererComponent = Me
|
regards
OlimilO