[ajug-members] i get confused with this

521 521 at ofig.org
Tue Feb 10 15:26:08 EST 2009


let's say i am making a program that displays a tree, growing

therefore i have some classes: tree (implements living, grows, 
react_to_change, etc), leaf (grows, dies, changes_color, etc), bird_nest 
(whatever), etc bla bla bla; then i will want to display this tree growing or 
something so i get in to frames, windows, borders and such, by correct 
design: where does the main method go, by correct design? the tree?  i can 
write down tree stuff on paper, its attributes and methods and and how they 
are related and react, but when i get to designing for a gui with the frame, 
window, etc; what the heck is that? my mind starts going what-the-heck, how 
is this related to the tree?  i know i have missed stuff as i've learned and 
when netbeans throws all that stuff in automatically for a desktop app, it's 
crazy, writing a program for the command prompt is fairly easy working with 
the main_string_agrs[] for input; the gui stuff freaks me out...  i mean, 
should my gui stuff be implementing the tree, because it "has" one? and "is-
not" one.



More information about the ajug-members mailing list