Defining the Panel Layout


Now, we need to define the layout of the top (panelA) and bottom (panelB) panels of this splitPane.

Steps:

  1. Copy or enter the text from the right into the file


You may recall that some of the variables here have the same names as the XML tags we defined when defining a splitPanel from a menu item in part '2. Menus - Basic'.

Panel A:


The variables here are:

Panel B:


Here, we give it the name 'detail' to indicate that details of the top panel (A) will be shown in the bottom panel (B).