SHARE
TWEET

Untitled

a guest Oct 23rd, 2012 55 Never
  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. }
  8.  
  9. //And adding to constructor
  10. System.setProperty("awt.toolkit", "presentacion.comun.ToolkitAntiBeep");
RAW Paste Data
Top