As I mentioned in another class, it is more than possible to have many more than just one frame. Today, we are going to prove the point. Here is how you do it:
A) create another frame just like your first frame, only give it different location and size coordinates. Here are the steps to do that:
1) declare a second frame by changing this line
Frame f1;
to look like this
Frame f1, wazzup;
notice that all you did was another name followed by a comma!
2) give it a
B) save compile and run the program.
Voila! Now you have a multiple frame program!
Cheers,
Uncle Paulie
Thursday, February 5, 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment