Last active
September 8, 2016 20:11
-
-
Save madhephaestus/a3bf40807728ed83dd99 to your computer and use it in GitHub Desktop.
BowlerStudio Tabs
This file contains 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
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