Using the Netbeans design editor I have created a JPanel (as "public class LengthPanel extends javax.swing.JPanel {...}" ) containing a few items. Now I want to place two copies of that panel into the JPanel of the main form of my program. How do I do this? I cannot work out what question to ask of web search engines.
What I really want is a have data entry gadgets for height and width. Each can be entered as metric (one number) or imperial (two numbers) values with its own JComboBox to choose. I want to design and code one length-entry gadget and have two copies of it.

