Skip to content

Instantly share code, notes, and snippets.

@PragmaticCoding
Last active January 13, 2022 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PragmaticCoding/3a2e8ae215eaee024386a9867a5e67f1 to your computer and use it in GitHub Desktop.
Save PragmaticCoding/3a2e8ae215eaee024386a9867a5e67f1 to your computer and use it in GitHub Desktop.
JavaFX Property Bean
private final StringProperty firstName = new SimpleStringProperty("Alloysius");
public String getFirstName() {
return firstName.get();
}
public StringProperty firstNameProperty() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName.set(firstName);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment