Just access it. In JSNI, 'final', and 'private' do not exist. You'll need to read up on JSNI. Here's an example:
public static native callGetSplitElement(HorizontalSplitPanel panel) / *-{ [EMAIL PROTECTED]::getSplitElement() (); }-*/; Note the double ()(). The first () is part of the getSplitElement signature (namely, the parameter list). The second () is the actual parameters. In this case, getSplitElement has no parameters, so it's just ()(). Also, you're still using private parts of an API. If you use these tricks, your code is most likely not going to work with the next version of GWT. Even a small point release might change things around. You've been warned! On Aug 27, 1:23 am, Rene <[EMAIL PROTECTED]> wrote: > I tryed everything and allways som exception or so. There is > getSplitElement() in HorizontalSplitPanel , how to access it , and or > some field also. I beleve that it will be very helpful also to > others. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---