private void XposTFKeyTyped(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_XposTFKeyTyped
        boolean OK = false;
        if((evt.getKeyChar()=='-')&&(XposTF.getText().equals("")))OK = true;
        if((evt.getKeyChar()=='.')&&(!XposTF.getText().equals("")&&!XposTF.getText().equals("-")))OK = true;
        if((evt.getKeyChar()>='0')&&(evt.getKeyChar()<='9'))OK = true;
        if(!OK){
            evt.setKeyChar('\0');
        }
    }//GEN-LAST:event_XposTFKeyTyped