void (@NotNull RemoteConfiguration rc) { myModeCombo.setSelectedItem(rc.SERVER_MODE ? Mode.LISTEN : Mode.ATTACH); myAutoRestart.setSelected(rc.AUTO_RESTART); if (SystemInfo.isWindows) { myTransportCombo.setSelectedItem(rc.USE_SOCKET_TRANSPORT ? Transport.SOCKET : Transport.SHMEM); if (!rc.USE_SOCKET_TRANSPORT) { myAddress.setText(rc.SHMEM_ADDRESS); } } if (!SystemInfo.isWindows || rc.USE_SOCKET_TRANSPORT) { rc.USE_SOCKET_TRANSPORT = true; myHostName.setText(rc.HOST); myPort.setText(rc.PORT); } myModuleSelector.reset(rc); }