private void updateArgsText(@NotNull JDKVersionItem vi) {
    myAutoRestart.setVisible(myModeCombo.getSelectedItem() == Mode.LISTEN);
    boolean useSockets = myTransportCombo.getSelectedItem() == Transport.SOCKET;

    RemoteConnection connection = new RemoteConnection(useSockets, myHostName.getText().trim(),
                                                       useSockets ? myPort.getText().trim() : myAddress.getText().trim(),
                                                       myModeCombo.getSelectedItem() == Mode.LISTEN
    );

    myArgsArea.setText(vi.getLaunchCommandLine(connection));
  }
private void updateArgsText(@NotNull JDKVersionItem vi)