|
Post by chriscrawford on Sept 26, 2015 7:10:06 GMT -8
8:06 AM The goal for today is to get the whole logging system up and running, even though it will likely be full of bugs. I have plowed through all the tedious preparatory labor, and I think that it's close enough that I can give it a whirl. I have changed the nomenclature. The original system was referred to as LogLizard, but inasmuch as my version is much simpler, I have dubbed it "FrogLizard", making the actual logger "FroggerLogger". See background on Frogger Rogger
|
|
|
Post by chriscrawford on Sept 26, 2015 12:07:41 GMT -8
1:05 I've been grinding along, with little success. The root node of the tree is displaying properly, but none of its children are showing up. Apparently I have failed to set some magic parameter in the JTree structure that allows it actually be a JTree. I'm digging through the documentation now. I hate Java #2593.
|
|
|
Post by chriscrawford on Sept 26, 2015 15:54:26 GMT -8
4:52 PM After much wasted screwing around, it occurred me to try a simple test. I inserted the demonstration code from the Java Tutorials in place of the FroggerLogger tree. It worked! So the problem is not with the display; it is with the construction of the tree data structure by FroggerLogger. Now I can start zeroing in on that.
|
|
|
Post by chriscrawford on Sept 26, 2015 18:14:28 GMT -8
7:14 PM A careful, line-by-line comparison indicates that the tree that won't display is structurally identical to the tree that will display. The only other difference I can make out is that one tree is owned by FroggerLogger, and the other by FrogLizard. I'll experiment to see if that is the source of the problem.
|
|
|
Post by chriscrawford on Sept 26, 2015 19:21:49 GMT -8
8:21 PM I'm calling it a night. I have no idea what the problem is, but tomorrow I'm going to merge FrogLizard into FroggerLogger to make a single class. There's no reason to have two classes.
|
|