Friday, August 23, 2013

JavaFX table is much powerful than Java Swing JTable

JavaFX table is much powerful than Java Swing JTable, for example, to support nested column in the table,
JTable needs to implement by the developer itself (or use the third party more powerful table).
http://www.esus.com/docs/GetQuestionPage.jsp?uid=1272

In JavaFX table, it's very natural:
TableColumn firstEmailCol = new TableColumn("Primary");
TableColumn secondEmailCol = new TableColumn("Secondary");
emailCol.getColumns().addAll(firstEmailCol, secondEmailCol);

http://docs.oracle.com/javafx/2/ui_controls/table-view.htm

No comments:

Post a Comment