Making the plug-in compatible with Java 1.4