hello,

i'm trying to implement a custom widget. it seems more natural and
easy to extend a standard gwt widget and modify necessary parts.
however it seems as gwt widgets aren't designed for this purpose and
most of the useful functionality is in package private methods.

i've found that (and indeed very surprised) if i change my package
name to com.google.gwt.user.client.ui i can use such methods as if my
widget is in that package. i'm not sure how that became possible. as
far as i know, classes from different sources are treated as different
packages even if they have the same package name.

so what do you think ? can i count on this ? or am i somehow hacking
the system ?

thanks in advance
r a f t
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to