home *** CD-ROM | disk | FTP | other *** search
- package javax.swing;
-
- import java.awt.Container;
- import java.beans.PropertyChangeEvent;
- import java.beans.PropertyChangeListener;
- import java.beans.PropertyVetoException;
- import java.lang.reflect.InvocationTargetException;
- import java.lang.reflect.Method;
- import java.security.AccessController;
-
- final class JOptionPane$5 implements PropertyChangeListener {
- // $FF: synthetic field
- final JInternalFrame val$iFrame;
- // $FF: synthetic field
- final JOptionPane this$0;
-
- JOptionPane$5(JOptionPane var1, JInternalFrame var2) {
- this.this$0 = var1;
- this.val$iFrame = var2;
- }
-
- public void propertyChange(PropertyChangeEvent var1) {
- if (this.val$iFrame.isVisible() && var1.getSource() == this.this$0 && var1.getPropertyName().equals("value")) {
- try {
- Object var2 = AccessController.doPrivileged(new JOptionPane.ModalPrivilegedAction(Container.class, "stopLWModal"));
- if (var2 != null) {
- ((Method)var2).invoke(this.val$iFrame, (Object[])null);
- }
- } catch (IllegalAccessException var4) {
- } catch (IllegalArgumentException var5) {
- } catch (InvocationTargetException var6) {
- }
-
- try {
- this.val$iFrame.setClosed(true);
- } catch (PropertyVetoException var3) {
- }
-
- this.val$iFrame.setVisible(false);
- }
-
- }
- }
-