How to create Two panels in a Content Pane or within a Panel?
How to create Two panels in a Content Pane or within a Panel.
What I am trying to do is "Creating nested frames". In HTML, we will create it by using FrameSet.
I went through the creation of panels, but I am not getting which Layout Manager should be used in order to get the exact look and feel of the page, which is created by using HTML Frameset.
[369 byte] By [
Vencya] at [2007-11-27 1:26:20]

# 2
Hi
If we use Border Layout, the Panels which are added to the main panel are not displaying properly.
Solution is to use BoxLayout with AXIS parameter. Statement looks like this:
mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout(PAGE_AXIS));
Thank You for giving Reply,
# 3
Use BoxLayout to solve the Problem.After Creating Main panel, set the Layout as follows:" mainPanel.setLayout(new BoxLayout(mainp,BoxLayout.PAGE_AXIS));