labHilliness = new Label("Amount of elevation(0-99):", Label.LEFT);
labHilliness = new Label("Amount of elevation(0-1000):", Label.LEFT);
	private void createComponents() {	    butOK = new Button("OK");		butOK.addActionListener(this);			    butAdvanced = new Button("Advanced");		butAdvanced.addActionListener(this);	    panButtons = new Panel();	            panButtons.setLayout(new FlowLayout());	    panOptions = new Panel();        gridbag = new GridBagLayout();        panOptions.setLayout(gridbag);	    labBoardSize = new Label("Board size (hexes):", Label.LEFT);	    labBoardDivider = new Label("x", Label.CENTER);	    texBoardWidth = new TextField(2);   		texBoardWidth.addFocusListener(this);	    texBoardHeight = new TextField(2);   		texBoardHeight.addFocusListener(this);	    slBoardSize = new SimpleLine(NORMAL_LINE_WIDTH);		// Normal setting components...		labElevation = new Label("Elevation:", Label.LEFT);		choElevation = new Choice();		fillChoice(choElevation);		slElevation = new SimpleLine(NORMAL_LINE_WIDTH);		labWoods = new Label("Woods:", Label.LEFT);		choWoods = new Choice();		fillChoice(choWoods);		slWoods = new SimpleLine(NORMAL_LINE_WIDTH);		labLakes = new Label("Lakes:", Label.LEFT);		choLakes = new Choice();		fillChoice(choLakes);		slLakes = new SimpleLine(NORMAL_LINE_WIDTH);		labRough = new Label("Roughs:", Label.LEFT);		choRough = new Choice();		fillChoice(choRough);		slRough = new SimpleLine(NORMAL_LINE_WIDTH);		labRivers = new Label("River:", Label.LEFT);		choRivers = new Choice();		fillChoice(choRivers);		slRivers = new SimpleLine(NORMAL_LINE_WIDTH);		labRoads = new Label("Road:", Label.LEFT);		choRoads = new Choice();		fillChoice(choRoads);		slRoads = new SimpleLine(NORMAL_LINE_WIDTH);		// Advanced setting components...		/** how much hills there should be, Range 0..99 */		labHilliness = new Label("Amount of elevation(0-99):", Label.LEFT);		texHilliness = new TextField(2);		texHilliness.addFocusListener(this);		/** Maximum level of the map */		labRange = new Label("Elevation range: ", Label.LEFT);		texRange = new TextField(2);		texRange.addFocusListener(this);		labProbInvert = new Label("Probability of inverting the map: ", Label.LEFT);		texProbInvert = new TextField(2);		texProbInvert.addFocusListener(this);				/** how much Lakes at least */		labWaterSpots= new Label("Number of lakes(min-max):", Label.LEFT);		texMinWaterSpots= new TextField(2);		texMinWaterSpots.addFocusListener(this);		/** how much Lakes at most */		texMaxWaterSpots= new TextField(2);		texMaxWaterSpots.addFocusListener(this);		/** minimum size of a lake */		labWaterSize= new Label("Lake size in hexes(min-max):", Label.LEFT);		texMinWaterSize= new TextField(2);		texMinWaterSize.addFocusListener(this);		/** maximum Size of a lake */		texMaxWaterSize= new TextField(2);		texMaxWaterSize.addFocusListener(this);		/** probability for water deeper than lvl1, Range 0..100 */		labProbDeep= new Label("Probability for deep water:", Label.LEFT);		texProbDeep= new TextField(2);		texProbDeep.addFocusListener(this);				/** how much forests at least */		labForestSpots = new Label("Number of woods(min-max):", Label.LEFT);		texMinForestSpots = new TextField(2);		texMinForestSpots.addFocusListener(this);		/** how much forests at most */		texMaxForestSpots= new TextField(2);		texMaxForestSpots.addFocusListener(this);		/** minimum size of a forest */		labForestSize= new Label("Wood size in hexes(min-max):", Label.LEFT);		texMinForestSize= new TextField(2);		texMinForestSize.addFocusListener(this);		/** maximum Size of a forest */		texMaxForestSize= new TextField(2);		texMaxForestSize.addFocusListener(this);		/** probability for heavy wood, Range 0..100 */		labProbHeavy = new Label("Probability for heavy wood:", Label.LEFT);		texProbHeavy = new TextField(2);		texProbHeavy.addFocusListener(this);				/** rough */		labRoughSpots= new Label("Number of roughs(min-max):", Label.LEFT);		texMinRoughSpots= new TextField(2);		texMinRoughSpots.addFocusListener(this);		texMaxRoughSpots= new TextField(2);		texMaxRoughSpots.addFocusListener(this);		labRoughSize= new Label("Rough size in hexes(min-max):", Label.LEFT);		texMinRoughSize= new TextField(2);		texMinRoughSize.addFocusListener(this);		texMaxRoughSize= new TextField(2);		texMaxRoughSize.addFocusListener(this);				/** probability for a road, range 0..100 */		labProbRoad= new Label("Probability for a road:", Label.LEFT);		texProbRoad= new TextField(2);		texProbRoad.addFocusListener(this);		/** probability for a river, range 0..100 */		labProbRiver= new Label("Probability for a river", Label.LEFT);		texProbRiver= new TextField(2);		texProbRiver.addFocusListener(this);				/* Craters */		labProbCrater= new Label("Probability for craters:", Label.LEFT);		texProbCrater= new TextField(2);		texProbCrater.addFocusListener(this);		labRadius= new Label("Crater radius(min-max):", Label.LEFT);		texMinRadius= new TextField(2);		texMinRadius.addFocusListener(this);		texMaxRadius= new TextField(2);		texMaxRadius.addFocusListener(this);		labMaxCraters= new Label("Number of craters(min-max):", Label.LEFT);		texMaxCraters= new TextField(2);    		texMaxCraters.addFocusListener(this);		texMinCraters= new TextField(2);		texMinCraters.addFocusListener(this);				/** Algorithm */		labAlgorithmToUse = new Label("Algorithm:", Label.LEFT);		texAlgorithmToUse = new TextField(2);		    slElevationAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slWoodsAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slLakesAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slRoughAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slRoadsAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slRiversAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slBoardSizeAd = new SimpleLine(ADVANCED_LINE_WIDTH);	    slCratersAd = new SimpleLine(ADVANCED_LINE_WIDTH);	}