You know that feeling when something stumps you for like sixteen hours and finally you figure it all out? Yep. Thank non-sectarian God for StackOverflow.
ACCOMPLISHED:
-Fixed the cellfactory glitch! Turns out that making a custom cell checkbox cell was entirely the wrong route; since cells are constantly re-rendered (essentially deleted and re-instantiated) it's infinitely more efficient to just customize them as a TreeItem!
-finished most of the GUI for the MakeQuiz stage
-created a SaveUnfinishedQuiz() method, to save your progress on a quiz
TODO 7-23-13:
At some point (when I'm less frustrated) it'd be nice to add a feature where shift-clicking a treeitem branch deselects all its children but not itself. Also made a SaveUnfinishedQuiz method, but turns out nothing in swing is Serializable, so it all needs to be wrapped in serializable components... how annoying is that? It's been copied over pretty well so far, but what's holding me back now is the fact that IMAGES are not serializable. Keep working!
Once Serialization is done, it'll be time to get to the actual taking the quiz part. Exciting!
ACCOMPLISHED:
-Fixed the cellfactory glitch! Turns out that making a custom cell checkbox cell was entirely the wrong route; since cells are constantly re-rendered (essentially deleted and re-instantiated) it's infinitely more efficient to just customize them as a TreeItem!
-finished most of the GUI for the MakeQuiz stage
-created a SaveUnfinishedQuiz() method, to save your progress on a quiz
TODO 7-23-13:
At some point (when I'm less frustrated) it'd be nice to add a feature where shift-clicking a treeitem branch deselects all its children but not itself. Also made a SaveUnfinishedQuiz method, but turns out nothing in swing is Serializable, so it all needs to be wrapped in serializable components... how annoying is that? It's been copied over pretty well so far, but what's holding me back now is the fact that IMAGES are not serializable. Keep working!
Once Serialization is done, it'll be time to get to the actual taking the quiz part. Exciting!