Tag archive for: Java Applet

Why my Java applets took much longer to load when I upgrade to Java Runtime Environment version 7

I was looking after a couple of Java applets that are used in our private network for more than a decade. Changing business requirements mandated the upgrade of the Java Runtime Environment from version 1.5 to version 1.7. That change had caused my Java applets to load very slowly. On Java Runtime Environment version 1.7, my applets took at least 20 times longer to load.

How did this happen? Why did my Java applets took significantly longer to load when I upgraded my Java Runtime Environment to version 7? This post records how I had managed to solve the mystery and gotten my applets to run like they were on Java Runtime Environment 1.5.

Configurations that I set in my Java Control Panel to get my Java Plug-in to tell me more about the Java applets and binaries that it is running

Right after I took over the maintenance work for Java applets that are a decade old, I did an important tweak to my Java Runtime Environment: I applied some configurations for the Java Plug-in on my computer to be as verbose as possible when it had to run my Java applets.

This post shows how I had configured in my Java Control Panel in my windows machine for the sake of performing diagnostic tasks when trouble brews.

How to read values from a properties file located within a Java jar file

A good programming practice will be to code applications to read from a text file for values which are expected to change often. Java Swing applications are often packed in a single jar file and it can make deployment easier if our Java Swing applications can read from text files embedded within the same jar file that they reside in.

There came a time where I need to code a Java applet to read i18n labels from some properties files. This post documents my proof of concept before I embark in coding that Java applet.

How to send message from Java applet to web page via jQuery

In an attempt to save development time on reworking the RIAs from a old system, a business decision was made to reuse the Java applets on a newer system.

The newer system utilizes jQuery at the front end to fulfill modern user interactivity requirements.

This post documents a proof of concept that I did for the powerful Java applets to communicate with the front-end of the newer system.