I am trying to create a table within a JTextArea using the contents of a LinkedList. Right now I have:
for(int i = 0; i < commands.size(); i++) {
String row = "<html><table><tr><td>"+commands.get(i)+"</td><td>"+desc.get(i)+"</td></tr></table></html>";
MainConsole.console.textArea.append(row+"\n");
}
However, when it compiles, it remains as plain text: 1
Any tips on getting the table to display?
Thanks in advance.