jtable text size on edit..



Hi!

Im working with an extended jtable, in the constructor, I set the font
size and the rowHeight,

htfFont = new Font("Courier", Font.PLAIN, 15);
this.setFont(htfFont);
this.setRowHeight(htfFont.getSize() + 3);

the font seems to only take effect after exiting the cell, when it is
being editted it looks quite small. I would expect that there should be

an easy way to do this rather than creating a new tablecelleditor and
tablecellrenderer classes.. and ideas?

thanks

.



Relevant Pages

  • jtable text size
    ... Im working with an extended jtable, in the constructor, I set the font ... size and the rowHeight, ... the font seems to only take effect after exiting the cell, ... tablecellrenderer classes.. ...
    (comp.lang.java.programmer)
  • Re: How do I get all text to print in merged and wrapped cells.
    ... characters. ... And if you manually adjust the rowheight, widen the column, and change the font ...
    (microsoft.public.excel.misc)
  • Re: Setting length parameter
    ... inside the group later on when the group is already exited, and the font ... This does not work because when exiting the group, ... set to zero. ... command "\baselineskip" rather than its current value, ...
    (comp.text.tex)
  • default font in Word reverts to original upon exit
    ... XP Computer recently crashed and hardware and software had to be reinstalled. ... I use a particular font as default and set as so. ... Upon exiting ... Prev by Date: ...
    (microsoft.public.word.docmanagement)