Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 text location
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
poseidon




PostPosted: 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?
Sponsor
Sponsor
Sponsor
sponsor
PaddyLong




PostPosted: Sat Jul 26, 2003 8:44 pm   Post subject: (No 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
rizzix




PostPosted: Sat Jul 26, 2003 8:52 pm   Post subject: (No 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!!
rizzix




PostPosted: Sat Jul 26, 2003 9:00 pm   Post subject: (No 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
PMac




PostPosted: Sun Feb 22, 2004 1:37 pm   Post subject: (No subject)

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

code:
c.setCursor(x,y)
Tony




PostPosted: Sun Feb 22, 2004 11:50 pm   Post subject: (No subject)

but who uses HoltSoft's Java IDE? Laughing
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 6 Posts ]
Jump to:   


Style:  
Search: