one last question

is there any way to print the text in a new window? oh and btw how do u use the code for codes?

this the source:

class PhysicsTest

{

public static void main(String[] args)

{

System.out.println("Hey there");

try

{

Thread.sleep(2000);

}

catch (InterruptedException exc) {}

System.out.println("How are You! ");

try

{

Thread.sleep(2000);

}

catch (InterruptedException exc) {}

System.out.println("See if you know the answers to these questions.");

try

{

Thread.sleep(2000);

}

catch (InterruptedException exc) {}

System.out.println("Ok Grab a Pen and some Paper!");

try

{

Thread.sleep(2000);

}

catch (InterruptedException exc) {}

System.out.println("Right ready? Ok Lets start. Answer the questions.");

}

} // end class PhysicsTest

[933 byte] By [Zenita] at [2007-10-3 11:27:03]
# 1
As in a new Console window? Not that I'm aware of.
Navy_Codera at 2007-7-15 13:53:03 > top of Java-index,Java Essentials,New To Java...
# 2
Use <code> and </code> except change the < and > to [ and ]
Student_Codera at 2007-7-15 13:53:03 > top of Java-index,Java Essentials,New To Java...
# 3
And put all the code you want to show in between
Student_Codera at 2007-7-15 13:53:03 > top of Java-index,Java Essentials,New To Java...