|Re: How to avoid default container for JFRAME and for all others also [message #775249 is a reply to message #775107]
||Thu, 05 January 2012 11:33
| Eric Clayberg
Registered: July 2009
Location: Boston, MA
1) Deleting the default JPanel by right-clicking on it worked just fine on my end. What do you mean when you say you were "not able" to do this? Was the "Delete" command not present or grayed out in some way?|
2) After morphing, you would also want to reset the layout manager to the default, since a JSplitPane set to a null (absolute) layout won't accept children.
3) By "different template", I mean that you can start with any code that you like. You are not limited to creating JFrame's using the wizard supplied with WindowBuilder. You can use any starting code that you like including one that already uses a JSplitPane as its content pane.
4) Modifying the source is always an option...and one that WB works very hard to facilitate with its bi-directional, reverse engineering capabilities.
I'm still not sure why you want to replace the default content pane when simply adding a JSplitPane to the content pane would achieve the same results in the end.
Powered by FUDForum
. Page generated in 0.01799 seconds