toggle the display of the vnc viewer from in-world to on-hud concode_field_sep TightVNCViewerWindow vncViewerWindow concode_elem_sep SharedMapCli statusMap concode_elem_sep Logger logger concode_elem_sep Executor actionExecutor concode_field_sep void setSSC concode_elem_sep void openConnection concode_elem_sep void sendCtrlAltDel concode_elem_sep boolean isOnHUD concode_elem_sep void sync concode_elem_sep void closeConnection
void function ( ) { if ( vncViewerWindow . getDisplayMode ( ) . equals ( DisplayMode . HUD ) ) { vncViewerWindow . setDisplayMode ( DisplayMode . WORLD ) ; } else { vncViewerWindow . setDisplayMode ( DisplayMode . HUD ) ; } vncViewerWindow . showControls ( true ) ; }