Hi Pete, On 8/31/2010 12:26 AM, Pete Brunet wrote:
jobject self = c->GetPeer(env); // self is the java side of the
peer code, i.e. the Component
This statement is incorrect. This function returns a reference to the peer object. According to the signature of the getAccessibleContext() method, you need to pass an AWT component to it. Try using GetTarget() function instead of the GetPeer() for this purpose.
public AccessibleContext getAccessibleContext(Component comp) {
-- best regards, Anthony
