
-----------------------------------
poseidon
Sat Jul 26, 2003 7:55 pm

text location
-----------------------------------
is there a command that tells java where to place text?

eg ... turing 

 locate (x,y) 

and also, is there a way to tell java to place text left or right justified?

-----------------------------------
PaddyLong
Sat Jul 26, 2003 8:44 pm


-----------------------------------
I am not even sure there is a command to clear the output window... I know we could never find one when we were doing java last week

-----------------------------------
rizzix
Sat Jul 26, 2003 8:52 pm


-----------------------------------
too bad java has the weakest CUI editing capabilities.
i dunno.. but u might find a library in SourceForge or something for better CUI capabilities.

try gui.. swing!!

-----------------------------------
rizzix
Sat Jul 26, 2003 9:00 pm


-----------------------------------
allrite after a little search i found the most powerfull way to do such things..

now i'm not sure if u've heard of ncurses! it's a library in c++ that gives u extreme control of the terminal. i've used it. its as easy as turings locate(x,y) but even better..

this is what i've found in SourceForge: [url=http://sourceforge.net/projects/javacurses/]jcurses

ditto thats exactly the thing ur looking for. try it out.. i'm gonna try it my self :mrgreen:

-----------------------------------
PMac
Sun Feb 22, 2004 1:37 pm


-----------------------------------
In ready to program Java. By Holt Software you can use

c.setCursor(x,y)

-----------------------------------
Tony
Sun Feb 22, 2004 11:50 pm


-----------------------------------
but who uses HoltSoft's Java IDE? :lol:
