JavaFX FlashCard Source Code and Web Start Link February 27
This is the post I promised that contains a link to the source code for the FlashCard game. There is also a Web Start Launcher link so you can see what my “masterpiece” looks like for yourself.
Some things that I need to work on:
1. Commenting - only parts are commented and though the variable names are pretty self explanatory, it could use some better commenting so that a write-up does not need to accompany it.
2. Layout - I used a couple Box layouts and I’m beginning to think that I should have just gone straight to the old GridBag. I haven’t spent much time figuring out how to space the components yet, but it isn’t spaced the way I’d like it to be.
3. Integrate with Pojo’s - I’d like to use some properties files and a few plain old Java classes to read in the properties and set up the array of flashcards. Currently the array is hardcoded into the FlashApp file.
4. Sound - I want to add sound to the letters, and sound to the images so that when they are clicked on, the letter sound plays or the word sound plays. I downloaded a package to let me integrate sound, but I haven’t gotten to it yet.
If you are interested in the current code, you can find it here.
If you want to see the game in action and you have Java 1.5+ installed, click here to launch Java Web Start and the FlashCard game. No need to tell me how awful my artwork is, my daughters already let me know.
Please let me know if you find it interesting or have comments on anything I may have done blatantly wrong, this was my first attempt at a JavaFX application so I am interested in feedback.