Home > Archive > Java Help > January 2007 > How to move text in java
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
How to move text in java
|
|
| mohit.khatri28@gmail.com 2007-01-29, 4:13 am |
| Hello,
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.
How can i move text in java. Plz help me.......
| |
| Andrew Thompson 2007-01-29, 4:13 am |
| On Jan 29, 6:35 pm, mohit.khatr...@gmail.com 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.
| |
| mohit.khatri28@gmail.com 2007-01-29, 4:13 am |
| 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...@gmail.com> wrote:
> On Jan 29, 6:35 pm, mohit.khatr...@gmail.com wrote:
> ...
>
> 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.
| |
| Andrew Thompson 2007-01-29, 4:13 am |
| On Jan 29, 6:35 pm, mohit.khatr...@gmail.com wrote:
> Hello,
Hello again.
I saw your reply to my reply on com.lang.java.help,
and was about to make a technical reply, when I
flipped across to comp.lang.java.programmer, and
noticed this thread.
So.. where do you want me to answer you?
Here? There? Or should I just send it through
to your email address, in case you're too busy
to check back on all the posts you made?
Please refrain from multi-posting, in future.
(And in case you are wondering, you will
get no further help from me* until the matter
of multi-posting is sorted out.)
* Or other people who have also decided that they
are not willing to help people who multi-post.
(X-post to c.l.j.p./h., w/ f-u to c.l.j.h. only)
Andrew T.
|
|
|
|
|