Class<? extends OrgPanel> c = topPanel.getClass();
Method method = c.getSuperclass().getDeclaredMethod("getRefPane");
method.setAccessible(true);
Object o = method.invoke(topPanel);
getRefPane是一个私有方法。客户端可以通过这种方式进行调用
Class<? extends OrgPanel> c = topPanel.getClass();
Method method = c.getSuperclass().getDeclaredMethod("getRefPane");
method.setAccessible(true);
Object o = method.invoke(topPanel);
getRefPane是一个私有方法。客户端可以通过这种方式进行调用