java - How to size a JTable in a JScrollPane without setPreferredSize() -
this question has answer here:
i have smaller jtable inside jscrollpanel. i've found this topic in first answer shown how -but- if overload table in order exceed panel height never shows side scroll bar. same problem mentioned in topic. clear cons of using preferred size still haven't figured out should re-size table.
please, give me clear explanation?
thank you,
andrea
try setting setpreferredsize() scroll pane , add jtable scroll pane. give try.
Comments
Post a Comment