简体   繁体   English

Java Applet在Eclipse中工作正常,但在终端机(Appletviewer)中不正确

[英]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.

相关问题 Java Applet代码可在浏览器中使用,但不能在AppletViewer中使用 - Java Applet code works in browser but not in AppletViewer Java applet可在appletviewer,Safari和Firefox中使用,但不能在Chrome中使用 - Java applet works in appletviewer, Safari and Firefox, but not Chrome 测试JCTerm,Java Applet终端仿真器,可以在Eclipse中运行,但不能在浏览器中运行 - Testing JCTerm, java applet terminal emulator, works in Eclipse, but not in browsers Java在Eclipse中运行良好,但无法在终端中正常运行 - Java works fine in Eclipse, but cannot run normally in Terminal Java BufferedImage可在appletviewer中使用,但不能在浏览器中使用 - Java BufferedImage works in appletviewer but not browser Java Applet,只能在Eclipse中使用,不能在Chrome中使用 - Java Applet, works in eclipse, not chrome Java applet不会在浏览器中绘制或接受鼠标输入,但在Eclipse Appletviewer中也是如此 - Java applet doesn't draw or accept mouse inputs in browser, but does in Eclipse Appletviewer 在没有 appletviewer 的情况下在浏览器外查看 java applet - Viewing a java applet outside of the browser without appletviewer 在浏览器中调试java applet - 在Eclipse中工作但不在浏览器中工作 - Debugging java applet in browser - works in Eclipse but not browser Java终端失败,eclipse正常运行 - Java terminal fails, eclipse works
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM