Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JTable
ヘッダー1 | ヘッダー2 | ヘッダー3
temp1 | temp1 | ブール値.FALSE
temp2 | temp2 | ブール値.TRUE
temp3 | temp3 | ブール値.FALSE
temp4 | temp4 | ブール値.TRUE
Header3 を並べ替えるにはどうすればよいですか? 最初に Boolean.TRUE に、次に Boolean.FALSE に変換します。
並べ替えには TableRowSorter を使用できます。それを検索すると、たくさんの例が表示されます。