how can i add two JTable's side by side in a JScrollPane using setViewPortView() option and set the size of the tables with respect to the size assigned to JscrollPane
As shown here and here, let each table occupy its own scroll pane. Let one pane show a scrollbar always, while the other does so never. Then let both scrollbars share a common BoundedRangeModel.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With