B
Bharath
Hi ,
I am working on JTable data printing.In that i have some problem.If
anyone can help me,please help me.
how to find the no.of characters in some amount of pixels ?
TableColumn tk = colModel.getColumn(nCol);
int width_1 = tk.getWidth();
finding string width using
fontMetric.stringWidth(string);
how to substring the string based on coloum width and string width
which will fit into the particular column.
If anybody knows solution for this problem, Please give me the reply.
thanking you
Bharath
I am working on JTable data printing.In that i have some problem.If
anyone can help me,please help me.
how to find the no.of characters in some amount of pixels ?
TableColumn tk = colModel.getColumn(nCol);
int width_1 = tk.getWidth();
finding string width using
fontMetric.stringWidth(string);
how to substring the string based on coloum width and string width
which will fit into the particular column.
If anybody knows solution for this problem, Please give me the reply.
thanking you
Bharath