Embedded browser control does not display
Basically I embedded a browser into my application. However the request I want to view (google) does not show in the application despite my code linking to it. Any ideas?
BrowserFieldConfig myBrowserFieldConfig = new BrowserFieldConfi开发者_StackOverflow中文版g();
myBrowserFieldConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE,BrowserFieldConfig.NAVIGATION_MODE_POINTER);
BrowserField browserSession = new BrowserField(myBrowserFieldConfig);
//browserSession.
browserSession.requestContent( "http://www.google.com" );
add(browserSession);**
It need MDS service to be running. Check for MDS. it will work.
精彩评论