File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ class ReflectPanel : AbstractPanel() {
17
17
private val panel = JSplitPane (JSplitPane .VERTICAL_SPLIT )
18
18
19
19
init {
20
- ReflectionActions (this , model.reflections )
21
- table.autoResizeMode = JTable .AUTO_RESIZE_OFF
20
+ ReflectionActions (this )
21
+ table.autoResizeMode = JTable .AUTO_RESIZE_ALL_COLUMNS
22
22
table.columnModel.getColumn(0 ).preferredWidth = 30 // ID
23
23
table.columnModel.getColumn(1 ).preferredWidth = 50 // method
24
24
table.columnModel.getColumn(2 ).preferredWidth = 120 // host
@@ -32,6 +32,7 @@ class ReflectPanel : AbstractPanel() {
32
32
table.columnModel.getColumn(10 ).preferredWidth = 100 // protocol
33
33
table.setSelectionMode(ListSelectionModel .MULTIPLE_INTERVAL_SELECTION )
34
34
table.rowSorter = TableRowSorter (model)
35
+ table.autoscrolls = true
35
36
36
37
table.selectionModel.addListSelectionListener {
37
38
if (table.selectedRow != - 1 ) {
You can’t perform that action at this time.
0 commit comments