How to design a dynamic java program
<p>I am new to Java so I am trying to get my head around some of the concepts of Java, so be gentle with me!.</p>

<p>I have my main MASTER CONTROLPANEL CLASS which contains the main of the program, and I Insantiate the building class which contains instances of the rooms class, 
and the rooms class contains instances of the walls class, 
and the walls contains instances of the windows class. </p>

<p>Basically constructing the building, each instantiation of the rooms class will have different amount of instances of walls, and walls different amount of windows, primitive height and widths etc..</p>

<p>What is the best way to go about the design of this?, as in creating the dynamic amount of walls and windows, is the only way with accessor methods? and just altering the measurements in the MAIN of the program? or having a method to add each wall individually to an arraylist for each room? and if so where is the best place to place these?</p>

<p>Thanks very much for any help.</p>
