// Path: src/Model/Account.java
// public class Account implements Serializable
// {
//     // private data
//     private Person studentDetails;
//     private String studentNumber;
// 
//     // public methods
// 
//     // getters
//     public Person getStudentDetails()
//     {
//         return studentDetails;
//     }
// 
//     public String getStudentNumber()
//     {
//         return studentNumber;
//     }
// 
//     // setters
//     public void setStudentDetails(Person newStudentDetails)
//     {
//         studentDetails = newStudentDetails;
//     }
// 
//     public void setStudentNumber(String newStudentNumber)
//     {
//         studentNumber = newStudentNumber;
//     }
// 
//     // constructors
//     public Account(Person studentDetails, String studentNumber)
//     {
//         this.studentDetails = studentDetails;
//         this.studentNumber = studentNumber;
//     }
// }


import Model.Account;
import Model.Person;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
import java.net.URL;
import java.util.ResourceBundle;
package Controller;



/**
 * Created by Zilvinas on 04/05/2017.
 */
public class AccountController implements Initializable
{
    @FXML private TextField account_no;
    @FXML private TextField salutation;
    @FXML private TextField full_name;
    @FXML private TextField email;
    @FXML private CheckBox fam_last;
    @FXML private Button submit;
    @FXML private GridPane pane;

// Path: src/Model/Account.java
// public class Account implements Serializable
// {
//     // private data
//     private Person studentDetails;
//     private String studentNumber;
// 
//     // public methods
// 
//     // getters
//     public Person getStudentDetails()
//     {
//         return studentDetails;
//     }
// 
//     public String getStudentNumber()
//     {
//         return studentNumber;
//     }
// 
//     // setters
//     public void setStudentDetails(Person newStudentDetails)
//     {
//         studentDetails = newStudentDetails;
//     }
// 
//     public void setStudentNumber(String newStudentNumber)
//     {
//         studentNumber = newStudentNumber;
//     }
// 
//     // constructors
//     public Account(Person studentDetails, String studentNumber)
//     {
//         this.studentDetails = studentDetails;
//         this.studentNumber = studentNumber;
//     }
// }


// Path: src/Controller/AccountController.java
import Model.Account;
import Model.Person;
import javafx.application.Platform;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.control.CheckBox;
import javafx.scene.control.TextField;
import javafx.scene.layout.GridPane;
import javafx.stage.Stage;
import java.net.URL;
import java.util.ResourceBundle;

package Controller;



/**
 * Created by Zilvinas on 04/05/2017.
 */
public class AccountController implements Initializable
{
    @FXML private TextField account_no;
    @FXML private TextField salutation;
    @FXML private TextField full_name;
    @FXML private TextField email;
    @FXML private CheckBox fam_last;
    @FXML private Button submit;
    @FXML private GridPane pane;

    private Account account;