In have a scenario in our project when user login then it need to hide the menu bar & address bar till user exit from the application.
Because some of users are using very smalll screen and some users are using nornal screen while rendering on small screen user have scroll up and down, that why we plan to hide the menu bar & addr.ess bar.
We are using Jdeveloeper 126.96.36.199 version.
menu bar & address bar till user exit from the application
why are you trying to control external object like browser by using your code. better application should works/seems to be good across browser/monitor resoultion/os wide range
so try to set/use % for the container which you are playing with in your apps.