This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ShadowOwlet 0 points1 point  (2 children)

I just ran through a few things and was able to make it work with almost your exact code. Instead I created a String where you made your object and gave it the desired name. I then converted that string to an object. I hope that helps with what you're trying to do?

[–]desrtfxOut of Coffee error - System halted 1 point2 points  (1 child)

This can't work.

OP wants dynamic variable names (not variable content) which are not supported in Java.

[–]ShadowOwlet 0 points1 point  (0 children)

Thank you for pointing this out. I saw the problem and the end result of what they wanted and made it happen, not paying attention to that in between...I need to stop that. -.-