Can we do this with println?



Hi,

I am new to Java programming. What I wanted to do is shown below using
a function like "System.out.println".


X03 | X05 | X07
------------------------------
X04 | X02 | X08
------------------------------
X01 | X06 | X09

In the diagram above as 'X' is any character and the remaining one is
a subscript (01, 02, 03 and so on..). What I want to do then is write
the character to the screen in the subscript order X01, X02 and so
on.. The problem is I do not get how using "System.out.println" I can
go one line above without erasing the whole screen. Of course this is
_not_ a homework but something I am trying to do nevertheless.

Any help is appreciated.

Thanks,
Neel.

.



Relevant Pages

  • Re: define and assignment
    ... I've come to believe that you are correct and the diagram is ... Hm, does EnvDraw do this for other kinds of objects, e. ... I found a similar example in the Common Lisp HyperSpec: ... same thing'' if that thing is a character or number. ...
    (comp.lang.scheme)
  • Re: recommendation for dealing with legacy data
    ... I am not too awfully advanced when it comes to java programming, ... default western character set whatever the heck that is. ... If it's arbitrary binary data, what's wrong with using java.io.FileInputStream to turn your file into a stream of bytes, and working from there? ... I don't understand what you mean by "I'll need to find/recognize/skip '\n' etc." Why would the '\n' character be treated specially in arbitrary binary data? ...
    (comp.lang.java.programmer)
  • Re: drawing using C
    ... put stream indicator to the required position. ... need to draw a character at the coordinate. ... It's possible on many systems to control the cursor position (for ... But if you want the diagram in a text file rather than on a display, ...
    (comp.lang.c)
  • Re: Binary to ASCII Question
    ... convert the binary data of a JPEG file to a character stream? ... If you really use the String constructor, ... encoding of the JVM running may require a conversion. ... Java programming tips: http://jiu.sourceforge.net/javatips.html ...
    (comp.lang.java.programmer)
  • Re: Possible bug in Calendar
    ... Arne Vajhøj wrote: ... claim and you don't have the character to admit it ... This newsgroup is supposed to be about Java programming, not about who is or isn't a liar, a nincompoop, or whatever-else. ...
    (comp.lang.java.programmer)