Using unsupported J2SE classes (e.g. java.util.*) with PersonalJava
Hi everybody!
Does anyone know how to use unsupported
J2SE classes in a PersonalJava application?
I would like to use for example the class
java.util.Vector in my PersonalJava application,
but I have not succeeded to do that.
I would be grateful if someone could give
me advice.
-Toni
tolehtin@mail.student.oulu.fi
[385 byte] By [
tolehtin] at [2007-9-26 4:04:29]

java.util.Vector works fine for me. I compile using JBuilder 4 with jdk 1.1.8, load the jar file in Pjava under Win CE 3.0, and it runs..I am making extensive use of Vector..all I am doing is the standard import java.util.Vector;
To use vector you have to be careful only to use the java 1.1.x functionality, ie don't use any of the functions that it inherits from Collections, as they were Java 1.2.In reality this means that you need to use addElement instead of add etc.Hope this helpsPeter