Image

Imagebattie42 wrote in Imagejava_dev 😤working

Hello. I'm working on writing a program for class. I prefer to use the command console for input and output, since it appears whenever we run the program anyway.

We're supposed to write a simulation ATM machine that has a manager mode and a customer mode. If I were using a GUI this shouldn't be much a problem, but I'm having a little trouble with the console. I want to find a way to clear all the previous output in the console when the customer mode is entered, but I can't find any methods or classes that might do that. Any ideas?

While I'm at it, I was wondering if there's a method to make cleartext for password entering. Since this is only an exercise, it's not terribly important, but it sure would look snazzy.

Thanks!