Wednesday, February 4, 2009

Thurs Feb 5,Part One: Console Printing

Greetings,caffeinated codewarriors!

When last we met, you were engaged in some exploration time,attempting to extend the usefulness of your first GUI application.There were varying degrees of success, so to further help this process, I have included several different techniques that you will use.Here is the first:

Open up the GUI application we made yesterday -- the one with the main method. Inside your "actionPerformed" statement,add this line:

System.out.println("JAVA IS WAY BETTER THAN VB!");

What this should do is to have this line of text print to your system console every time you click the button in your program

Try it, and then when you're ready, add other lines of text to this message by using the newline character "\n" to add new lines

more is on the way,

Uncle Paulie

No comments:

Post a Comment