Table: ascendingSortIcon and descendingSortIcon icons added

This commit is contained in:
Karl Tauber
2019-09-02 17:45:29 +02:00
parent 8754ffe1cb
commit d81e07f03a
6 changed files with 118 additions and 0 deletions

View File

@@ -233,6 +233,7 @@ public class FlatComponents2Test
"December"
}))));
}
table1.setAutoCreateRowSorter(true);
scrollPane5.setViewportView(table1);
}
add(scrollPane5, "cell 1 4 2 1,growx,width 300");

View File

@@ -165,6 +165,7 @@ new FormModel {
add( new com.jformdesigner.model.SwingTableColumn( new java.lang.Object[ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], 0, 0, 0, true ) )
add( null )
} )
"autoCreateRowSorter": true
} )
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
"value": "cell 1 4 2 1,growx,width 300"

View File

@@ -179,6 +179,11 @@ TabbedPane.focusColor=dddddd
TabbedPane.contentAreaColor=bbbbbb
#---- Table ----
Table.sortIconColor=ffff00
#---- TableHeader ----
TableHeader.background=4444ff