Thursday, February 19, 2009

Mon Feb 23: Panels and layouts, part two

Alrighty then, let's add the rest of those TextFields to your Panel:

right below these lines:

one = new TextField("hello");
myFirstPanel.add(one);

Add five more sets of lines just like those two which will add the other five TextFields to your Panel.

Re-compile, then run the program and see what you get!

Cheers,
Uncle Paulie

No comments:

Post a Comment