Hi,
I'm not able to manage this.
I have a MainWindow that calls a component that takes entire screen of application. I call it this way:
contentComponent = new ContentComponent(); setContentOwned(contentComponent, false); setVisible(true);
and i need when i press a button on this compent to open a new one that will takeover the entire screen of application.
I've made several attempts with AddAndMakeVisible, setContentNonOwned, addChildComponent, but i could not do it. Always crash.
What am I doing wrong, and what is the right way to do it ?
Paulo