Hi Vlad,

> Options are good :-). Any objections on including your variant in the
> guide?

Feel free to use it as you wish.


> It looks that the main is class method? It can be called as above but
> I do not know if/how to call that after the MainFrame has being
> created (i.e calling it on resulting object). In any case it does not
> matter much (but I am still curious).

Yes that's right, the "main" is generated as a static method. static
methods are invoked by their class, not object. So calling
MainFrame.main() runs the static method, but you cannot do m = new
MainFrame(); m.main();
The generated "main" creates a new instance of MainFrame and makes it
visible. There is no way for you to provide the object to "main" or
get the object from "main" without modifying the java code.


Regards,
Tim.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to