@Override
	protected Control createContents(Composite parent) {
		Composite container = new Composite(parent, SWT.NONE);
		container.setBackground(SWTResourceManager.getColor(SWT.COLOR_WHITE));
		container.setLayout(null);

		txtBalance = formToolkit.createText(container, "New Text", SWT.NONE);
		txtBalance.setBounds(89, 10, 76, 21);
		txtBalance.setToolTipText("Total Balance");
		txtBalance.setText("");

		Label lblBalance = new Label(container, SWT.NONE);
		lblBalance.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblBalance.setBounds(10, 13, 73, 15);
		formToolkit.adapt(lblBalance, true, true);
		lblBalance.setText("Balance");

		txtComputedRisk = new Text(container, SWT.BORDER);
		txtComputedRisk.setBounds(89, 91, 76, 21);
		formToolkit.adapt(txtComputedRisk, true, true);

		txtHighscore = new Text(container, SWT.BORDER);
		txtHighscore.setBounds(89, 37, 76, 21);
		formToolkit.adapt(txtHighscore, true, true);

		txtStartingBet = new Text(container, SWT.BORDER);
		txtStartingBet.setText("25");
		txtStartingBet.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent arg0) {
				Integer i = new Integer(txtStartingBet.getText());
				if (i > 0) {
					strategy.setStartingBet(i);
				}
			}
		});
		txtStartingBet.setBounds(89, 64, 76, 21);
		formToolkit.adapt(txtStartingBet, true, true);

		lblHighestBalance = new Label(container, SWT.NONE);
		lblHighestBalance.setText("Highscore");
		lblHighestBalance.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblHighestBalance.setBounds(10, 40, 73, 15);
		formToolkit.adapt(lblHighestBalance, true, true);

		lblStarting = new Label(container, SWT.NONE);
		lblStarting.setText("Starting Bet");
		lblStarting.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblStarting.setBounds(10, 67, 73, 15);
		formToolkit.adapt(lblStarting, true, true);

		lblTotalRisk = new Label(container, SWT.NONE);
		lblTotalRisk.setText("Total Risk");
		lblTotalRisk.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblTotalRisk.setBounds(10, 94, 73, 15);
		formToolkit.adapt(lblTotalRisk, true, true);

		txtNormalRisk = new Text(container, SWT.BORDER);
		txtNormalRisk.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent arg0) {
				int risk = new Integer(txtNormalRisk.getText());
				if (risk > 1) {
					// strategy.setNormalRisk(risk);
				}
			}
		});

		txtNormalRisk.setText("200");
		txtNormalRisk.setBounds(318, 10, 76, 21);
		formToolkit.adapt(txtNormalRisk, true, true);

		txtLossRisk = new Text(container, SWT.BORDER);
		txtLossRisk.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent arg0) {
				int risk = new Integer(txtLossRisk.getText());
				if (risk > 1) {
					// strategy.setLossRisk(risk);
				}
			}
		});
		txtLossRisk.setText("10");
		txtLossRisk.setBounds(318, 37, 76, 21);
		formToolkit.adapt(txtLossRisk, true, true);

		txtMultiplier = new Text(container, SWT.BORDER);
		txtMultiplier.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent arg0) {
				Float mul = new Float(txtMultiplier.getText());
				if (mul >= 2 && mul <= 4) {
					// strategy.setMultiplier(mul);
				}

			}
		});
		txtMultiplier.setText("2");
		txtMultiplier.setBounds(318, 64, 76, 21);
		formToolkit.adapt(txtMultiplier, true, true);

		txtBadStreak = new Text(container, SWT.BORDER);
		txtBadStreak.addModifyListener(new ModifyListener() {
			public void modifyText(ModifyEvent arg0) {

				Integer mul = new Integer(txtBadStreak.getText());
				if (mul > 6) {
					// strategy.setBadStreak(mul);
				}

			}
		});
		txtBadStreak.setText("13");
		txtBadStreak.setBounds(318, 91, 76, 21);
		formToolkit.adapt(txtBadStreak, true, true);

		lblNormalRisk = new Label(container, SWT.NONE);
		lblNormalRisk.setText("Normal Risk");
		lblNormalRisk.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblNormalRisk.setBounds(239, 16, 73, 15);
		formToolkit.adapt(lblNormalRisk, true, true);

		lblLossRisk = new Label(container, SWT.NONE);
		lblLossRisk.setText("Loss Risk");
		lblLossRisk.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblLossRisk.setBounds(239, 43, 73, 15);
		formToolkit.adapt(lblLossRisk, true, true);

		lblMultiplier = new Label(container, SWT.NONE);
		lblMultiplier.setText("Multiplier");
		lblMultiplier.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblMultiplier.setBounds(239, 70, 73, 15);
		formToolkit.adapt(lblMultiplier, true, true);

		lblBadStreak = new Label(container, SWT.NONE);
		lblBadStreak.setText("Bad Streak");
		lblBadStreak.setBackground(SWTResourceManager
				.getColor(SWT.COLOR_WIDGET_FOREGROUND));
		lblBadStreak.setBounds(239, 97, 73, 15);
		formToolkit.adapt(lblBadStreak, true, true);

		startButton = new Button(container, SWT.NONE);
		startButton.addSelectionListener(new SelectionAdapter() {
			@Override
			public void widgetSelected(SelectionEvent e) {
				if (strategy.running) {
					strategy.running = false;
					updateStartButton("Start");
				} else {
					strategy.start();
					updateStartButton("Stop");
				}
			}

		});
		startButton.setBounds(92, 135, 220, 54);
		formToolkit.adapt(startButton, true, true);
		startButton.setText("Start");

		Button btnReset = new Button(container, SWT.NONE);
		btnReset.addMouseListener(new MouseAdapter() {
			@Override
			public void mouseDown(MouseEvent e) {
				//strategy.highscore = 0;
				txtHighscore.setText("0");
				updateHighscore(0);
			}
		});
		btnReset.setBounds(318, 150, 75, 25);
		formToolkit.adapt(btnReset, true, true);
		btnReset.setText("Reset");

		return container;
	}