Is there a lib that can build a simple GUI by looking at a class or method signature?
For Example:
class MyMath{
public static double sqrt(double d){
//impl
}
}
To

So that when the button is clicked the method is invoked and the result is shown.
Do you know any examples of something like that in Java or other languages?
thanks
I coded a very basic example, which shows how this can be achieved using a few lines reflection code and little swing. Maybe init() should return the number of methods found for use in the GridLayout, then it would be more dynamic.