How kbmin24/testmaker works
Testmaker is a JavaFX desktop application for authoring TeX-based exam papers. Users create a test or open an existing one, edit its metadata and question collections, add multiple-choice or free-response questions, and export a PDF. The model includes XML representations and TeX generation for cover pages and questions; the README also documents formula and image support. The graph follows explicit controller/model references and the shown PDF-export call; rendering internals and some UI wiring were not sampled, so those links are omitted rather than assumed.
Main entry points: MainViewController.java Exam editor · Test.java Test document · HelloController.java Welcome screen · QuestionCollection.java Question collections
Components 21
Startup and navigation
- Application startup
src/main/java/com/kyubinmin/testmaker/HelloApplication.java - Welcome screen
src/main/java/com/kyubinmin/testmaker/HelloController.java - New-file wizard
src/main/java/com/kyubinmin/testmaker/NewFileWizard.java
Test editing
- Exam editor
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Metadata editor
src/main/java/com/kyubinmin/testmaker/MetaDataWizardController.java - Image manager
src/main/java/com/kyubinmin/testmaker/MediaManagerController.java - Equation editor
src/main/java/com/kyubinmin/testmaker/Eqnedit.java - Question tree cells
src/main/java/com/kyubinmin/testmaker/fileCellFactory.java
Exam content model
- Test document
src/main/java/com/kyubinmin/testmaker/Test.java - Cover page
src/main/java/com/kyubinmin/testmaker/CoverPage.java - Question collections
src/main/java/com/kyubinmin/testmaker/QuestionCollection.java - Collection element
src/main/java/com/kyubinmin/testmaker/QuestionCollectionElement.java - Question base
src/main/java/com/kyubinmin/testmaker/Question.java - Multiple choice
src/main/java/com/kyubinmin/testmaker/MultipleChoiceQuestion.java - Free response
src/main/java/com/kyubinmin/testmaker/FreeResponseQuestion.java
Editing utilities
- Unit editor
src/main/java/com/kyubinmin/testmaker/Unitedit.java - Debug view
src/main/java/com/kyubinmin/testmaker/Debug.java - String replacement
src/main/java/com/kyubinmin/testmaker/StringReplacer.java - About view
src/main/java/com/kyubinmin/testmaker/AboutController.java
Other components
- Exam author
- Exported PDF
Connections 30
- Exam author → Application startup: launches
src/main/java/com/kyubinmin/testmaker/HelloApplication.java - Application startup → Welcome screen: loads screen
src/main/java/com/kyubinmin/testmaker/HelloApplication.java - Exam author → Welcome screen: chooses file
src/main/java/com/kyubinmin/testmaker/HelloController.java - Welcome screen → New-file wizard: opens wizard
src/main/java/com/kyubinmin/testmaker/HelloController.java - New-file wizard → Exam editor: creates editor
src/main/java/com/kyubinmin/testmaker/NewFileWizard.java - Welcome screen → Exam editor: opens document
src/main/java/com/kyubinmin/testmaker/HelloController.java - Exam editor → Test document: edits document
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Metadata editor: opens editor
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Image manager: opens manager
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Equation editor: opens editor
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Question collections: edits collections
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Multiple choice: edits questions
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Free response: edits questions
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Question tree cells: uses tree cells
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Exam editor → Test document: requests PDF
src/main/java/com/kyubinmin/testmaker/MainViewController.java - Test document → Exported PDF: writes output
- New-file wizard → Test document: initializes document
src/main/java/com/kyubinmin/testmaker/NewFileWizard.java - Metadata editor → Test document: updates metadata
src/main/java/com/kyubinmin/testmaker/MetaDataWizardController.java - Test document → Cover page: holds cover
- Question collections → Collection element: contains elements
src/main/java/com/kyubinmin/testmaker/QuestionCollection.java - Question collections → Multiple choice: parses questions
src/main/java/com/kyubinmin/testmaker/QuestionCollection.java - Question collections → Free response: parses questions
src/main/java/com/kyubinmin/testmaker/QuestionCollection.java - Multiple choice → Question base: extends
src/main/java/com/kyubinmin/testmaker/MultipleChoiceQuestion.java - Free response → Question base: extends
src/main/java/com/kyubinmin/testmaker/FreeResponseQuestion.java - Question base → Collection element: extends
src/main/java/com/kyubinmin/testmaker/Question.java - Debug view → String replacement: uses
src/main/java/com/kyubinmin/testmaker/Debug.java - Equation editor → Unit editor: references
src/main/java/com/kyubinmin/testmaker/Eqnedit.java - Welcome screen → Debug view: opens view
src/main/java/com/kyubinmin/testmaker/HelloController.java - Application startup → Test document: configures compiler
src/main/java/com/kyubinmin/testmaker/HelloApplication.java - About view → Application startup: references app
src/main/java/com/kyubinmin/testmaker/AboutController.java