Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package phonebook;
- import javafx.beans.property.SimpleStringProperty;
- public class Person {
- private final SimpleStringProperty firstName;
- private final SimpleStringProperty lastName;
- private final SimpleStringProperty email;
- public Person() {
- this.firstName = new SimpleStringProperty("");
- this.lastName = new SimpleStringProperty("");
- this.email = new SimpleStringProperty("");
- }
- public Person(String fname, String lName, String email) {
- this.firstName = new SimpleStringProperty(fname);
- this.lastName = new SimpleStringProperty(lName);
- this.email = new SimpleStringProperty(email);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement