0
This is Java Applet program.. uses Thread.sleep method.. i want to make animation smoother.. but i don't know how... :(
6 ответов
+ 1
Shaztry✰ Note that my code use html/css for the effect ,dont use java applet... It was for understand what you want get....
P.S. I dont know if you are forced to use java applet but now its obsolete... Use html/css/js with canvas/svg technology instead
+ 1
I have never developed some java applet then you have to base on this... Anyway, what you mean for "smoother" in this case? You want a soft transition between color changes?
+ 1
yes.. It kind of works when I set Thread.sleep(millisecond _values); to max.. but It is not working as expected..
#Thanks_For_the_reply :D
+ 1
Shaztry✰ Just for reference, see this web code
https://code.sololearn.com/W8K26uNwpT5l/?ref=app
You want get the effect on square while you now get the rect effect, right?
+ 1
yes... thank you for that.. I'll check that out once.. 😊
0
yes.. I'm studying BCA and in college we must use Java Applet ..
that's why using applet and it is quite wierd.. 🙁
I have Lab programs based on this....
but i would love to use html and css 😘