SHOW:
|
|
- or go back to the newest paste.
1 | public class ToolkitAntiBeep extends sun.awt.windows.WToolkit { | |
2 | @Override | |
3 | public void beep() { | |
4 | //TODO no esta funcionando | |
5 | JOptionPane.showConfirmDialog(null, "Areee"); | |
6 | } | |
7 | - | } |
7 | + | } |
8 | ||
9 | //And adding to constructor | |
10 | System.setProperty("awt.toolkit", "presentacion.comun.ToolkitAntiBeep"); |