private void areaKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_areaKeyTyped
        char c = evt.getKeyChar();
        String s = c+"";

        if(!s.matches("\\d")){
            evt.consume();
        }
    }