I just want to know if there is any way to call a method from on an object by its name in a String.
Something like this
setLocation(int,int) it's a method from jLabel1, how can i call this
method(setLocation()) by using its name in string ?
String component = jLabel1.getName(); component.setLocation(x,y);