javax.swing
static class: JOptionPane.ModalPrivilegedAction [javadoc |
source]
java.lang.Object
javax.swing.JOptionPane$ModalPrivilegedAction
All Implemented Interfaces:
PrivilegedAction
Retrieves a method from the provided class and makes it accessible.
| Method from javax.swing.JOptionPane$ModalPrivilegedAction Summary: |
|---|
|
run |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.swing.JOptionPane$ModalPrivilegedAction Detail: |
public Object run() {
Method method = null;
try {
method = clazz.getDeclaredMethod(methodName, (Class[])null);
} catch (NoSuchMethodException ex) {
}
if (method != null) {
method.setAccessible(true);
}
return method;
}
|