Skip to content

How to create DarktTableView manually

chqu1012 edited this page Nov 3, 2019 · 1 revision
import de.dc.fx.applayout.model.core.control.tableview.dark.DarkTableView;
import javafx.scene.Parent;

public class DarkTableViewDemo extends BaseApplication {

	@Override
	protected Parent getContent() {
		DarkTableView tableView = new DarkTableView();
		tableView.createTableColumn("Name", 200);
		tableView.createTableColumn("Lastname", 200);
		tableView.createTableColumn("Email", 200);
		tableView.createTableColumn("Description", 200);
		
		return tableView;
	}

	public static void main(String[] args) {
		launch(args);
	}
}
Clone this wiki locally