Hello !
I want to show html text in column of JTable. But I don't
want to show html tags in cell.
I use the following code,
public class TagStripper extends HTMLEditorKit.ParserCallback {
public void setData(
String data) {
this.data = data;
}
public String data = "";
public String getData() {
return data;
}
public TagStripper() {
}
public void handleText(char[] text, int position) {
for (int i = 0; i < text.length; i++) {
data = data + text[i];
}
}
}
It works, but while fetching the data from the cell I want the
html tags??
sachin.