Author |
Message |
frenzy
|
Posted: Sat Oct 23, 2004 6:27 pm Post subject: Is clearscreen possible in Java? (Borland Jbuilder) |
|
|
^^^ title says it all...Im using borland software and i seem to have run into some problems... |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
wtd
|
Posted: Sat Oct 23, 2004 6:32 pm Post subject: (No subject) |
|
|
Text-based user interface, or graphical? |
|
|
|
|
![](images/spacer.gif) |
frenzy
|
Posted: Sat Oct 23, 2004 7:35 pm Post subject: (No subject) |
|
|
tex based |
|
|
|
|
![](images/spacer.gif) |
rizzix
|
Posted: Sat Oct 23, 2004 7:49 pm Post subject: (No subject) |
|
|
sorry not possible |
|
|
|
|
![](images/spacer.gif) |
StarGateSG-1
![](http://img61.imageshack.us/img61/4417/jesushulk2sq.gif)
|
Posted: Fri Nov 19, 2004 10:42 am Post subject: (No subject) |
|
|
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. |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri Nov 19, 2004 3:50 pm Post subject: (No subject) |
|
|
y not just skip a couple of lines to clear the screen? |
|
|
|
|
![](images/spacer.gif) |
rizzix
|
Posted: Fri Nov 19, 2004 3:51 pm Post subject: (No subject) |
|
|
ya but u'd need to calcualate the number of visible rows in the terminal.. that cannot be done by java... yet. |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Fri Nov 19, 2004 3:52 pm Post subject: (No subject) |
|
|
o? im sure if u clear 50 lines it'll be enuff |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
rizzix
|
Posted: Fri Nov 19, 2004 3:54 pm Post subject: (No subject) |
|
|
really?.. my linux terminal occupies the entire screen. |
|
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Fri Nov 19, 2004 3:58 pm Post subject: (No subject) |
|
|
rizzix wrote: 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. |
|
|
|
|
![](images/spacer.gif) |
Dan
![](http://wiki.compsci.ca/images/archive/3/3c/20100325043407!Danspic.gif)
|
Posted: Fri Nov 19, 2004 4:09 pm Post subject: (No subject) |
|
|
StarGateSG-1 wrote: 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 ![Rolling Eyes Rolling Eyes](http://compsci.ca/v3/images/smiles/icon_rolleyes.gif) |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
![](images/spacer.gif) |
wtd
|
Posted: Fri Nov 19, 2004 4:14 pm Post subject: (No subject) |
|
|
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. |
|
|
|
|
![](images/spacer.gif) |
|