[英]Java Applet works fine in Eclipse but in terminal(Appletviewer) not correctly
I am working on text analyser applet for my term assessment. 我正在使用文本分析器小程序进行我的学期评估。 I have finished and it works fine on eclipse(run java applet) but when I run it in terminal with appletviewer applet does not work correctly.
我已经完成了,并且在eclipse(运行java applet)上工作正常,但是当我在appletviewer applet终端中运行它时,它不能正常工作。 I have run method with timer which repaints 60times/sec and in paint method I have 4 polygons acts as a tabs.
我有带计时器的run方法,它可以重绘60次/秒,在paint方法中,我有4个多边形作为选项卡。 when you click tab polygon appears on screen.
当您单击选项卡时,多边形会出现在屏幕上。 With eclipse all good but with appletviewer in terminal it does not stays on one tab.
使用eclipse一切都很好,但是在终端中使用appletviewer时,它不会停留在一个选项卡上。 Applet constantly changes tabs.
Applet不断更改标签。 Can't post a code at the moment because its assessment work.
目前无法发布代码,因为它可以进行评估。 Do you have any idea why its appears differently in eclipse and terminal?
您是否知道为什么它在日食和末期出现不同的现象? (I used only standart java classes)
(我只使用了标准的Java类)
尝试使用update-alternative并设置appletviewer。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.