The class and related code needs to be updated for generics. It should be possible to use JList<Command>. The main complication seems to be the prototype value for font sizing because this currently takes a String but should take a Command containing a string. If parameterized, it is not clear how the prototype value would be assigned.
The class and related code needs to be updated for generics. It should be possible to use
JList<Command>
. The main complication seems to be the prototype value for font sizing because this currently takes a String but should take a Command containing a string. If parameterized, it is not clear how the prototype value would be assigned.