Computer Science Canada

text location

Author:  poseidon [ Sat Jul 26, 2003 7:55 pm ]
Post subject:  text location

is there a command that tells java where to place text?

eg ... turing

code:
locate (x,y)


and also, is there a way to tell java to place text left or right justified?

Author:  PaddyLong [ Sat Jul 26, 2003 8:44 pm ]
Post subject: 

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

Author:  rizzix [ Sat Jul 26, 2003 8:52 pm ]
Post subject: 

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!!

Author:  rizzix [ Sat Jul 26, 2003 9:00 pm ]
Post subject: 

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: jcurses

ditto thats exactly the thing ur looking for. try it out.. i'm gonna try it my self Mr. Green

Author:  PMac [ Sun Feb 22, 2004 1:37 pm ]
Post subject: 

In ready to program Java. By Holt Software you can use

code:
c.setCursor(x,y)

Author:  Tony [ Sun Feb 22, 2004 11:50 pm ]
Post subject: 

but who uses HoltSoft's Java IDE? Laughing


: