for my school project i'm trying to create a GUI with JFrame, JButtons etc.
But..is it possible to create a button,or any object for that matter, with a name selected from a string? So that i can refer to an object with the name of the string?
So if i have
it actually got the method in the Object..Code:
String s = "abc";
Object s = new Object();