Hi, I'm currently working on a Java assignment, but because the book I have is mainly based on the GUI side I don't really have any resource for plain Java stuff to run under DOS (you know those straight forward liner programs).

Any way I need to know how to do the following:

1. Clear the screen the proper way, because our teacher at this stage has just said to put about 30 returns in and that should clear it, but I want to know how to do it properly.

2. How can I place text at coordinate I choose (in Pascal I use to use gotoXY is there anything similar in JAVA?

3. Draw rectangles and fill them, remember this is a command line program so no GUI stuff please.

I think that'll do for now...

!!! THANKS IN ADVANCE !!!