Jack Gleeman
Jack Gleeman

Reputation: 593

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 BrowserFieldConfig();
         myBrowserFieldConfig.setProperty(BrowserFieldConfig.NAVIGATION_MODE,BrowserFieldConfig.NAVIGATION_MODE_POINTER);
         BrowserField browserSession = new BrowserField(myBrowserFieldConfig);
                     //browserSession.
         browserSession.requestContent( "http://www.google.com" );
         add(browserSession);**

Upvotes: 0

Views: 186

Answers (1)

Nilanchala
Nilanchala

Reputation: 5941

It need MDS service to be running. Check for MDS. it will work.

Upvotes: 1

Related Questions