options.acceptClipboard.setSelected(viewer.acceptClipboard.getValue());
options.sendClipboard.setSelected(viewer.sendClipboard.getValue());
options.menuKey.setSelectedItem(KeyEvent.getKeyText(menukey.getMenuKeyCode()));
+ options.sendLocalUsername.setSelected(viewer.sendLocalUsername.getValue());
if (state() == RFBSTATE_NORMAL) {
options.shared.setEnabled(false);
switch ((Integer)iext.next()) {
case Security.secTypePlain:
options.secPlain.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
case Security.secTypeIdent:
options.secIdent.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
case Security.secTypeTLSNone:
options.encTLS.setSelected(true);
case Security.secTypeTLSPlain:
options.encTLS.setSelected(true);
options.secPlain.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
case Security.secTypeTLSIdent:
options.encTLS.setSelected(true);
options.secIdent.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
case Security.secTypeX509None:
options.encX509.setSelected(true);
case Security.secTypeX509Plain:
options.encX509.setSelected(true);
options.secPlain.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
case Security.secTypeX509Ident:
options.encX509.setSelected(true);
options.secIdent.setSelected(true);
- options.sendLocalUsername.setSelected(true);
break;
}
}