// Port field, initialized to last port (default is 21)
portSpinner = createPortSpinner(lastPort);
addRow(Translator.get("server_connect_dialog.port"), portSpinner, 15);
// Encoding combo box
encodingSelectBox = new EncodingSelectBox(new DialogOwner(mainFrame), lastEncoding);
encodingSelectBox.addEncodingListener(this);
addRow(Translator.get("encoding"), encodingSelectBox, 15);
// Connection retries when server busy
nbRetriesSpinner = createIntSpinner(FTPFile.DEFAULT_NB_CONNECTION_RETRIES, 0, Integer.MAX_VALUE, 1);