It occurs to me that the static methods UIObject.setVisible and UIObject.setStyleName are akin to each other -- they're both static, they both alter properties of an Element, and they're both called by public instance methods in UIObject -- yet the former has public visibility whereas the latter is protected. Why not give the latter public visibility also?
I'm currently using GWT for a more "traditional" app (langolab.com) and it would be useful to call this method for elements in the page that aren't necessarily in a widget. With the current visibility level my choices are either to duplicate the code or add a utility method to a new class in com.google.gwt.user.client.ui. Curious, Adam --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---