I have a customer that has a jave application written under JDK1.2. The application is packed in a Jar file. They are using the Java Plug-in 1.2 as our VM. They have noticed that once the applet is loaded, and running, Photoshop (versions 4.01 & 5.0.2) would not launch, and ATM would not activate/deactivate fonts.
Attached is a simple test case that demondtrates the problem. The customer reports that he has noticed that when an application consisted of one class only, Photoshop & ATM behave normally. But if he adds to it one more class, like in the test case provided, Photoshop & Adobe Type Manager wouldn't launch.
You need to run the applet from a web server in order to reproduce this problem!
the HTML file :
<HTML>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
STANDBY="AM1 in now loading!" TITLE="AM1.5" WIDTH=250 HEIGHT=50>
<PARAM NAME= CODE VALUE="Amdocs.AM.UI.Applet.PhotoshopTestApplet">
<PARAM NAME= CODEBASE VALUE="classesTest2">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.1">
</OBJECT>
</HTML>
main class:(PhotoshopTestApplet.java)
package Amdocs.AM.UI.Applet;
public class PhotoshopTestApplet extends javax.swing.JApplet {
public void init() {
AMRepository.m_repository = null;
}
}
"other" class:(AMRepository.java)
package Amdocs.AM.UI.Applet;
public class AMRepository {
public static AMRepository m_repository = null;
}
Attached is a simple test case that demondtrates the problem. The customer reports that he has noticed that when an application consisted of one class only, Photoshop & ATM behave normally. But if he adds to it one more class, like in the test case provided, Photoshop & Adobe Type Manager wouldn't launch.
You need to run the applet from a web server in order to reproduce this problem!
the HTML file :
<HTML>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
STANDBY="AM1 in now loading!" TITLE="AM1.5" WIDTH=250 HEIGHT=50>
<PARAM NAME= CODE VALUE="Amdocs.AM.UI.Applet.PhotoshopTestApplet">
<PARAM NAME= CODEBASE VALUE="classesTest2">
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.1">
</OBJECT>
</HTML>
main class:(PhotoshopTestApplet.java)
package Amdocs.AM.UI.Applet;
public class PhotoshopTestApplet extends javax.swing.JApplet {
public void init() {
AMRepository.m_repository = null;
}
}
"other" class:(AMRepository.java)
package Amdocs.AM.UI.Applet;
public class AMRepository {
public static AMRepository m_repository = null;
}