How samou2/formulaire-ia works
This is a JavaFX university registration and sign-in desktop application. Users enter personal and student/teacher details, receive field validation and guidance, submit a registration saved in JSON, then sign in using the saved name and identifier; remembered credentials prefill the login form. The source also defines a shared person model with student and teacher specializations. Several workflow details come from partial MainApp excerpts, so the graph omits unshown calls rather than inferring them.
Main entry points: MainApp.java JavaFX application · Personne.java Person model · Enseignant.java Teacher record · inscriptions.json Registration JSON
Components 12
Desktop application
- JavaFX application
MainApp.java - Registration form
MainApp.java - Field validation
MainApp.java - Sign-in window
MainApp.java - Account lookup
MainApp.java - Interface styles
style.css
Person records
- Person model
Personne.java - Student record
Etudiant.java - Teacher record
Enseignant.java
Local state
- Registration JSON
inscriptions.json - Remembered credentials
Other components
- User
Connections 13
- User → JavaFX application: uses
MainApp.java - JavaFX application → Registration form: shows
MainApp.java - Registration form → Field validation: validates fields
MainApp.java - JavaFX application → Registration JSON: writes registration
MainApp.java - JavaFX application → Sign-in window: opens after registration
MainApp.java - Sign-in window → Remembered credentials: prefills from
MainApp.java - JavaFX application → Remembered credentials: stores credentials
MainApp.java - JavaFX application → Account lookup: checks account
MainApp.java - Account lookup → Registration JSON: reads records
MainApp.java - Person model → Student record: extended by
Etudiant.java - Person model → Teacher record: extended by
Enseignant.java - JavaFX application → Teacher record: uses
MainApp.java - JavaFX application → Interface styles: loads stylesheet
MainApp.java