mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
test++
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.event.WindowAdapter;
|
||||
import java.awt.event.WindowEvent;
|
||||
|
||||
final class Bug
|
||||
extends JFrame {
|
||||
public Bug() {
|
||||
foo();
|
||||
}
|
||||
|
||||
public void <caret>foo() {
|
||||
addWindowListener(new MyWindowListener());
|
||||
}
|
||||
|
||||
private class MyWindowListener
|
||||
extends WindowAdapter {
|
||||
public void windowActivated(WindowEvent e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user