public RandomRunPanel(Point pLocation, BMVPanel pContext) { super(); context = pContext; location = pLocation; requestFocusInWindow(); runsField = new NumberField("Number of Runs"); runsField.setFont(new Font("arial", Font.BOLD, 14)); runsField.setOpaque(true); this.add(runsField); addHelp( "This mode will run the experiment on the model, only updating a single variable (randomly determined) at a time.\n\nNumber of Runs: this is how many times the experiment will be rerun, the more runs the more consistent the results should become.\n\nNumber of Steps: this is how many steps each run will go through. More steps would represent observing the system for a greater period of time, so the more steps the longer term behavior will be observed.", 200, 200); stepsField = new NumberField("Number of Steps"); stepsField.setFont(new Font("arial", Font.BOLD, 14)); stepsField.setOpaque(true); this.add(stepsField); transferFocus(); addOkCancel(); setBounds(location.x, location.y, 170, 95); }