I am using JCO to connect SAP, and it sucessfully connects,but I can't hide sap client gui. according to JCO API doc, use JCO.Client's function--setSapGui(2),the sap cilent gui will be hidden,but even i use it ,it doesn't function , when I execute my java program,the sap client gui is visible.so...