jdk/src/share/classes/javax/swing/SwingWorker.java
changeset 23697 e556a715949f
parent 21982 fd6e5fe509df
child 25568 b906a74c6882
equal deleted inserted replaced
23696:7deff68428ef 23697:e556a715949f
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   841         public void actionPerformed(ActionEvent event) {
   841         public void actionPerformed(ActionEvent event) {
   842             run();
   842             run();
   843         }
   843         }
   844     }
   844     }
   845 
   845 
       
   846     @SuppressWarnings("serial") // JDK-implementation class
   846     private class SwingWorkerPropertyChangeSupport
   847     private class SwingWorkerPropertyChangeSupport
   847             extends PropertyChangeSupport {
   848             extends PropertyChangeSupport {
   848         SwingWorkerPropertyChangeSupport(Object source) {
   849         SwingWorkerPropertyChangeSupport(Object source) {
   849             super(source);
   850             super(source);
   850         }
   851         }