Re: How to move text in java



Hello Sir,

Thanks for your suggestion..... I am making my application with
swing. and using controls like JLabel and JPanel. But i dont want to
use it in the graphics mode my first string is moving from bottom to
top but my next string is not moving after the first string and so
so..... Could you please send me proper help so that i could get more
information......

Thanks

On Jan 29, 12:49 pm, "Andrew Thompson" <andrewtho...@xxxxxxxxx> wrote:
On Jan 29, 6:35 pm, mohit.khatr...@xxxxxxxxx wrote:
...

I want to move text from bottom to up in java. I want to move
multiple lines of text one after other just like starting of a movie.Note that GUI'd Java is not a very good place for
a beginner to start. To get text scrolling in 'Movie
Credits' style is harder, since you need to take
care of the drawing (accounting for the text size)
yourself. The method to override, in order to
perform the painting, depends on whether it is
AWT or Swing (your failure to mention AWT/Swing
adds to my impression you are swimming here).

I suggest you either..
- Start learning Java from the command line. In
which case you will be able to ask a much more
focused question, when you get to the point of
attempting 'scrolling text'.
- Use an existing 'scolling text' applet.

Andrew T.

.



Relevant Pages

  • Re: Newbie wants to self-taught java
    ... on each level of my learning java? ... library collection information. ... How many books for each title... ... The front-end will be swing. ...
    (comp.lang.java.programmer)
  • Re: need Java book for a C# / C C++ proficient programmer?
    ... In fact, the latest edition of Learning Java ignores AWT except for a historical discussion of it's relation to Swing, then plunges into Swing for at least three full chapters. ... Learning Java has the very basics (this is the syntax for a "for" loop, this is the syntax for a "while" loop) but it also covers enough of the API that LJ makes a good reference for a while after one is done learning. ... I recommend the Javapassion website. ...
    (comp.lang.java.programmer)
  • Re: applets wont appear
    ... Combining applets, swing and learning Java is possibly a recipe for madness. ...
    (comp.lang.java.gui)
  • Re: How to scroll automatically
    ... If so - don't mix swing with AWT. ... I want to be able to format the Text in later Versions, ... It is now scrolling down just fine. ...
    (comp.lang.java.gui)
  • Re: when to use/not use JFrame or Jpanel in Swing or AWT?
    ... myself dilip,currently learning java. ... confused because sir sometime use JFrame or sometimes Jpanel in Swing / ... AWT. ... use either of JFrame /Jpanel. ...
    (comp.lang.java.programmer)