Skip to content

Tag: applet

Viewing a java applet outside of the browser without appletviewer

I found some old published java applets. Ideally, it would be great to run that in the browser but newer versions of Chrome (which my students have) makes running Java applets nearly impossible. I can’t expect all my students to have appletviewer since it’s deprecated and not shipped with newer versions of the JDK. Is there an easy way to

Internet Explorer 11 support on windows 8.1

I’ve read that IE won’t be supported on Windows 10 anymore. Official page: Microsoft We have a Java applet application what we can run in Edge, but for certain types of Operating Systems (Windows 8.1), there is only Internet Explorer installed on the machines. What is not clear for me that will Win 8.1 still have support for IE 11?

Applet not running

Im fairly new to java and applet but when I run my code I expect to be greeted with some sort of applet window however nothing happens when I run. What am I doing wrong, or am I missing something ? Answer As Java Client Roadmap Update During the past five years, most browser vendors have withdrawn support for plugins

Java applets – is it a wrong choice today?

I have some non-trivial computational code that need to be applied on data already downloaded into the browser DOM and captured from user interactions. I do not wish to expose this code. I am wondering if: Write a webservice and communicate with the browser over websocket or HTTP. The trade-off is speed of interaction (from slick to poor) and higher

Applet: Java heap space

Due to a small implementation mistake I discovered how quickly I could reach a Java heap space issue now the bug is fixed everything is fine but it did get me looking into how to solve this and I foudn multiple solution such as java -Xms5m -Xmx15m MyApp the problem is that this changes the java memory on my computer,

Negative Number in fillRect()

I am using a negative number to have fillRect() go the opposite way. It works well on my computer, but my friends cannot see it working properly. What do I do? Answer My guess is that you and your freind are using 2 different versions of Java. your supports fillrect with a negative value and your freind’s doesn’t. (or even

.class vs .java

What’s the difference between a .class file and a .java file? I am trying to get my applet to work but currently I can only run it in Eclipse, I can’t yet embed in HTML. Thanks **Edit: How to compile with JVM then? Answer A .class file is a compiled .java file. .java is all text and is human readable.