I need help on deleting stuff

How can i delete text in a command prompt above where the cursor currently is?
[85 byte] By [drtoppera] at [2007-11-27 9:29:13]
# 1
This has nothing to do with Java and why would you want to do that?
floundera at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...
# 2
> How can i delete text in a command prompt above where> the cursor currently is? http://sourceforge.net/projects/javacurses/This might have what you need though I admit I never looked that it myself.
aniseeda at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...
# 3
for example, if I printed:Would you like to withdraw(w) or deposit(d) money?After the user responded, if I wanted to display account information without the above question there anymore how would I go about that?
drtoppera at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...
# 4
Write a GUI and use a JTextArea instead.
floundera at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...
# 5
I know how to do it that way, I was just wondering if you can do it in the terminal window?
drtoppera at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...
# 6

> for example, if I printed:

>

> Would you like to withdraw(w) or deposit(d) money?

>

> After the user responded, if I wanted to display

> account information without the above question there

> anymore how would I go about that?

System.out.println("Would you like to withdraw(w) or deposit(d) money?");

for(int i = 0; i < 100; i++)

{

System.out.println("");

}

System.out.println("Would you like to exit now?");

Jamwaa at 2007-7-12 22:36:53 > top of Java-index,Java Essentials,Java Programming...