are you wanting dynamic variable names?
if so you can't do that in java
you can use an ArrayList or HashMap to store a name and a class
String userSpecifiedName = "SunServer";
HashMap<String, Simple> map = new HashMap<String, Simple>();
Simple simpleClass = new Simple();
map.put(userSpecifiedName, simpleClass);
Last edited by dickersonka; Nov 17th, 2008 at 9:49 am.
Reputation Points: 133
Solved Threads: 141
Veteran Poster
Offline 1,162 posts
since Aug 2008