How can I animate a "Jlabel" in java GUI example linear move??? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How can I animate a "Jlabel" in java GUI example linear move???

I want to move a Jlabel in linear form and it should be under Jpanel how can i do it???????

25th Aug 2018, 3:43 AM
šŸ¦‹FEATHERšŸ¦‹
šŸ¦‹FEATHERšŸ¦‹ - avatar
3 Respostas
+ 4
This example is a little more complicated than what you're asking for, but I think it's quite helpful: https://stackoverflow.com/questions/33883330/cant-move-jlabel-on-jpanel
25th Aug 2018, 8:09 PM
Tashi N
Tashi N - avatar
0
Podrias usar Threads para que cada n segundos modifiques la posicion del JLabel
25th Aug 2018, 1:20 PM
Michaell Alavedra
0
thanks Tashi for understanding, cause my question really looks weird..
31st Aug 2018, 1:43 PM
šŸ¦‹FEATHERšŸ¦‹
šŸ¦‹FEATHERšŸ¦‹ - avatar