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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -