|
Yes norm, we might get to the center of this problem (maybe a lack of java imagination of mine). Java does not support multiple inheritance, right. I red some stuff about that, and the point I got out of that all, is that they do not want to turn java into the spaggetti-code mess of C++. I started out with java and do not know any better, good! (I choose for java, because I do not feel any sympathy for the micro-soft (Chicago) software-boys – if you want to know more about that, read Naomi Klein’s latest, The Shock Doctrine (yes, nick I believe we should show our code-biting-juniors about the many hidden background stories of this world).
Okay let’s follow the thread, when the Main class on top of the other classes creates an instance of the second Controler class, that has all the GUI stuff, THERE IS A ONE WAY DIRECTION OF INFORMATION, right. When the instance of the GUI-class, called “cont”, created at the Main-class (where all the soundblocks are, remember) wants to get data from the GUI-class it gets it by cont.whatever(); If I create a thread at one of the event-notifying methods (of the GUI-class) I WOULD BE GOING INTO THE OPPOSITE DIRECTION. Nick, got that problem (I should say he is smart), but his code is any good….. is it? (do { } while (codeofNick( true/false); Nick you should NOT crunch first-years students of English with Shakespeare!
|