Put your JTable
inside a JScrollPane
. Try this:
add(new JScrollPane(scrTbl));
More Related Contents:
- JTable design to synchronize with back-end data-structure
- Multiple row selection in JTable
- Get Selected Rows in JTable using AbstractTableModel
- How to add row in JTable?
- JTable not showing
- How to fill data in a JTable with database?
- JTable disable Checkbox in Cell
- JTable model listener detects inserted rows too soon (before they are drawn)
- How to get a DefaultTableModel object’s data into a subclass of DefaultTableModel
- How to make a JButton in a JTable cell click-able?
- TableCellRenderer and how to refresh Cell background without using JTable.repaint()
- Add Jbutton to each row of a Jtable
- Auto resizing the JTable column widths
- How to provide pagination support to a JTable in Swing?
- Adding jRadioButton into jTable
- Can I add JRadioButton into JTable
- How to merge cell in DefaultTableModel/JTable?
- How to wrap lines in a jtable cell?
- import csv to JTable
- Load arrayList data into JTable
- JComboBox in a JTable cell
- How to center cells in JTable
- How to set icon in a column of JTable?
- Using an empty column as a divider in a JTable
- How to sort JTable in shortest way?
- How to delete a row from jtable
- How to make a columns in JTable Invisible for Swing Java
- Adding JComboBox to a JTable cell [duplicate]
- how to add checkbox and combobox in table cell?
- how to print selected rows JTable