
-----------------------------------
frenzy
Sat Oct 23, 2004 6:27 pm

Is clearscreen possible in Java? (Borland Jbuilder)
-----------------------------------
^^^ title says it all...Im using borland software and i seem to have run into some problems...

-----------------------------------
wtd
Sat Oct 23, 2004 6:32 pm


-----------------------------------
Text-based user interface, or graphical?

-----------------------------------
frenzy
Sat Oct 23, 2004 7:35 pm


-----------------------------------
tex based

-----------------------------------
rizzix
Sat Oct 23, 2004 7:49 pm


-----------------------------------
sorry not possible

-----------------------------------
StarGateSG-1
Fri Nov 19, 2004 10:42 am


-----------------------------------
You can do clear scn you just need to get in to holt software's version and write a clear scn method. Holt soft did so can you.

-----------------------------------
Andy
Fri Nov 19, 2004 3:50 pm


-----------------------------------
y not just skip a couple of lines to clear the screen?

-----------------------------------
rizzix
Fri Nov 19, 2004 3:51 pm


-----------------------------------
ya but u'd need to calcualate the number of visible rows in the terminal.. that cannot be done by java... yet.

-----------------------------------
Andy
Fri Nov 19, 2004 3:52 pm


-----------------------------------
o? im sure if u clear 50 lines it'll be enuff

-----------------------------------
rizzix
Fri Nov 19, 2004 3:54 pm


-----------------------------------
really?.. my linux terminal occupies the entire screen.

-----------------------------------
wtd
Fri Nov 19, 2004 3:58 pm


-----------------------------------
really?.. my linux terminal occupies the entire screen.

Indeed.  Even on Windows, you can edit the properties of CMD so that the Window is any height or width you want.

-----------------------------------
Dan
Fri Nov 19, 2004 4:09 pm


-----------------------------------
You can do clear scn you just need to get in to holt software's version and write a clear scn method. Holt soft did so can you.

If Holt soft did it, then it whould mean there is somting horbly wrong with the idea behind it and no other person or gourp on the face of the erath should ever try it for the total lack of good progaming practes it uses.

P.S. ya i am mad at holth right now  :roll:

-----------------------------------
wtd
Fri Nov 19, 2004 4:14 pm


-----------------------------------
Indeed.  You should either write a proper text-based user-interface, or a proper GUI interface.  

The first interface lesson every programmer should learn: don't try to control something you can't, and respect tradition.

Tradition, for text-based user interfaces, is that you just output the text.  Heck, I might want to go "back" and look at something that was output a few steps back.  If you're trying to "clear the screen" by outputting a hellacious number of blank lines, I'm gonna have to scroll back aways, and depending on settings, I may not even have that info in my buffer anymore.
