0% found this document useful (0 votes)
7 views2 pages

JavaFX Student Profile Manager Assignment

The document outlines the requirements for creating a JavaFX application named StudentProfileManager, which includes a form for inputting student details such as name, age, department, and gender. It specifies the use of GridPane for the form layout and VBox or ListView for displaying student profiles, along with event handling and data validation. Additionally, it provides references to tutorials and documentation for guidance on implementing the application features.

Uploaded by

Sebin Mathew
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

JavaFX Student Profile Manager Assignment

The document outlines the requirements for creating a JavaFX application named StudentProfileManager, which includes a form for inputting student details such as name, age, department, and gender. It specifies the use of GridPane for the form layout and VBox or ListView for displaying student profiles, along with event handling and data validation. Additionally, it provides references to tutorials and documentation for guidance on implementing the application features.

Uploaded by

Sebin Mathew
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Assignment (Session-3)

Create a JavaFX application called StudentProfileManager with the following


functionality

1. Form Section (Input Area) – use GridPane:

• Name (TextField)

• Age (TextField)

• Department (ComboBox with 3–5 hardcoded departments)

• Gender (RadioButton group)

• Add Button (Button) – adds student to a list

2. Display Section – use VBox or ListView:

• A scrollable section where each student profile is displayed as:

yaml

CopyEdit

Name: Alice | Age: 20 | Dept: CSE | Gender: Female

3. Clear Button

• Clears all fields after successful add.

• (Optional) Add a button to clear the entire student list.

Requirements:

• Use GridPane for the form layout.

• Use VBox or ListView to show student data.

• Use Event Handling with lambda expressions.

• Validate form data (e.g., show alert if any field is empty).


Study References:

• YouTube Tutorials and references

o Using GridPane to make a form -


[Link]

o Validating form data: [Link]

o Event Handling - [Link]

o ListView - [Link]

o JavaFX Complete Crash Course (This is a 4 hour video – So go through the


video chapters and skip to necessary parts particular to this assignment)

• JavaFX Layouts Documentation:

o [Link]
[Link]

o [Link]
tutorial/builtin_layouts.htm

• Oracle JavaFX Complete Documentation:

o [Link]

You might also like