如何在JApplet内垂直移动图像? [英] How to move the image inside the JApplet in vertical line?
本文介绍了如何在JApplet内垂直移动图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在JApplet中显示了一个图像(球),现在我希望该图像以垂直方式(上下)移动.问题是我不知道该怎么做.
I have displayed an image(ball) inside the JApplet, now I want the image to move in a vertical way (up and down). The problem is I don't know how to do it.
有人对此事有想法吗?
推荐答案
我想在
JApplet
中完成它.
为什么两者都不是?您可以使用此动画中所示的混合应用程序/小程序.
Why not both? You can have a hybrid application/applet as shown in this animation.
这篇关于如何在JApplet内垂直移动图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文