OSX 10.10.2, WebBrowserComponent = blank page


#1

When I try to open a webpage (e.g. google) using the WebBrowserComponent, all I see is a white rectangle in place of the component. I'm running OSX 10.10.2.

The simple question is: am I doing something wrong, or is the component broken due to changes Apple made?

// Constructor
auto url = URL("http://www.google.com");
browser.goToURL(url.toString(true));
addAndMakeVisible(browser);

// Resized()
browser.setBounds(getLocalBounds().reducded(30, 30));

#2

You need to add and make visible before calling goToURL().


#3

I'm afraid this makes no difference :(