eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder
JDialog override dispose() causes hang
Abierto
bug
help wanted
macOS
- Lenguaje dominante
- Java
- Estrellas
- 97
- Forks
- 34
- Merge medio
- 21 h 52 min
- PR fusionados (30 d)
- 25
Descripción
Once again, I bring you JDialog issues:
public class Test extends JDialog {
public Test() {
super(new JFrame());
final JButton btnNewButton = new JButton("New button");
btnNewButton.addActionListener(e -> {
dispose();
});
getContentPane().add(btnNewButton, BorderLayout.SOUTH);
setVisible(true);
}
@Override
public final void dispose() {
super.dispose();
}
}
If you remove the override method, it works. If you include, it hangs.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.