Skip to content

Instantly share code, notes, and snippets.

@acamilo
Forked from madhephaestus/tabLaunch.groovy
Created April 20, 2016 02:26
Show Gist options
  • Save acamilo/fc3ee2f91272a27bcf456dae30b9979b to your computer and use it in GitHub Desktop.
Save acamilo/fc3ee2f91272a27bcf456dae30b9979b to your computer and use it in GitHub Desktop.
BowlerStudio Tabs
import javafx.scene.text.Text;
// Create a tab
Tab myTab = new Tab();
//set the title of the new tab
myTab.setText("Whoh a tab!");
//add content to the tab
myTab.setContent(new Text(10, 50, "Oh my, how cool!"));
return myTab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment