Skip to content

Commit

Permalink
8253606: Need to add missed constructor to the SwingEventMonitor
Browse files Browse the repository at this point in the history
Reviewed-by: jdv, pbansal, prr
  • Loading branch information
mrserb committed Oct 2, 2020
1 parent 5810238 commit d296708
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@
*/
public class SwingEventMonitor extends AWTEventMonitor {

/**
* Constructs a {@code SwingEventMonitor}.
*/

/**
* The master list of all listeners registered by other classes.
* This can only be publicly modified by calling the add or
Expand All @@ -77,6 +73,11 @@ public class SwingEventMonitor extends AWTEventMonitor {
*/
static private final SwingEventListener swingListener = new SwingEventListener();

/**
* Constructs a {@code SwingEventMonitor}.
*/
public SwingEventMonitor() {}

/**
* Adds the specified listener to receive all {@link EventID#ANCESTOR ANCESTOR}
* events on each component instance in the Java Virtual Machine as they occur.
Expand Down

1 comment on commit d296708

@bridgekeeper
Copy link

@bridgekeeper bridgekeeper bot commented on d296708 Oct 2, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.