How to Map System.out and System.in to SWT controls
问题 I am working on on a tool to connect to a remote server using jcraft.JSch (ssh to Unix server) and return the output and display its output. The script works fine when channel input outputs are System.in and System.out . But when I try with SWT controls, it is not able to display the exact output I am getting with System.out read from SWT Text control emulating System.in public void create() { dialogShell = new Shell(dialogShell, SWT.PRIMARY_MODAL | SWT.SHEET | SWT.RESIZE); GridLayout