Wednesday, February 10, 2010

[Java] generics in j2me

 

hi all,
i tried to use a generic code inside a mobile application code but Netbeans gave me the following error (use -source 5 or higher to enable generics)
although i am using JDK 6 update 16
the code was the following Vector<String> v = new Vector<String>();
Does any one knows how to use generic code in JME?
this will help me much on finishing my app efficiently.
thanks,

OmarH. Desoki
Software Developer

[Non-text portions of this message have been removed]

__._,_.___
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
.

__,_._,___

No comments:

Post a Comment