Put JTable in the JTree
问题 in connection with thread Jtable as a Jtree Node I put JTable to JTree, but JTree View isn't rendered correctly on start_up, how can I setPreferredSize for JTable , because PreferredScrollableViewportSize shrinked JTable with rendering TableHeader + one Row , one Row remain hidden, but after expanding Node(s) TreeRenderer change and repaint the setPreferredSize to the expected Dimension import java.awt.*; import javax.swing.*; import javax.swing.table.DefaultTableModel; import javax.swing