-
-
Save GrennKren/7ae4ed71f931b1424be78e3619c7f717 to your computer and use it in GitHub Desktop.
All the Challenges I Faced in Java Netbeans
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) I set up JTable with setAutoCreateRowSorter(true) so that all tables can be sorted by clicking on the column headers. However, I want to exclude some tables from this, but when I try using table.setAutoCreateRowSorter(false), it doesn't work at all. | |
Solution: | |
Disable the table header with table.getTableHeader().setEnabled(false); | |
2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment