|
|
@ -482,6 +482,9 @@ public class JDBCDefPane extends JPanel { |
|
|
|
updateURL(); |
|
|
|
updateURL(); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
portTextField.setText(port.replaceAll(e.getKeyChar() + "", "")); |
|
|
|
portTextField.setText(port.replaceAll(e.getKeyChar() + "", "")); |
|
|
|
|
|
|
|
if (!isPortValid(portTextField.getText())) { |
|
|
|
|
|
|
|
portTextField.setText(""); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|