private void createCommandButtons()
	{
		{
			Button clearButton = new Button(inputGroup, SWT.PUSH);
			clearButton.setText("Clear view state");
			clearButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					inputText.setText("");
				}
			});
		}

		{
			Button serverDecodeButton = new Button(inputGroup, SWT.PUSH);
			serverDecodeButton.setText("Decode view state (server-side estimate)");
			serverDecodeButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					try
					{
						ViewStateWrapper viewState = new ViewStateWrapper(inputText.getText());
						outputText.setText(viewState.generateServerSideTextTree());
					}
					catch (Exception e1)
					{
						DisplayText("Error", e1.toString());
					}
				}
			});
		}

		{
			Button stateDecodeButton = new Button(inputGroup, SWT.PUSH);
			stateDecodeButton.setText("Decode view state (raw view state only)");
			stateDecodeButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					try
					{
						ViewStateWrapper viewState = new ViewStateWrapper(inputText.getText());
						outputText.setText(viewState.generateRawTextTree());
					}
					catch (Exception e1)
					{
						DisplayText("Error", e1.toString());
					}
				}
			});
		}

		{
			Button streamDecodeButton = new Button(inputGroup, SWT.PUSH);
			streamDecodeButton.setText("Decode Java Object Stream");
			streamDecodeButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					try
					{
						Object o = ObjectDeserizer.deserialize(inputText.getText());
						outputText.setText(ObjectDumper.dumpObject(o, true));
					}
					catch (Exception e1)
					{
						DisplayText("Error", e1.toString());
					}
				}
			});
		}

		{
			Button xssButton = new Button(inputGroup, SWT.PUSH);
			xssButton.setText("Generate XSS attack");
			xssButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					try
					{
						ViewStateWrapper viewState = new ViewStateWrapper(inputText.getText());
						viewState.insertXSSPoC();
						outputText.setText(viewState.serializeToString());
					}
					catch (Exception e1)
					{
						DisplayText("Error", e1.toString());
					}
				}
			});
		}

		{
			Button sessionButton = new Button(inputGroup, SWT.PUSH);
			sessionButton.setText("Generate session data attack");
			sessionButton.addSelectionListener(new SelectionAdapter() {
				public void widgetSelected(SelectionEvent e) {
					try
					{
						ViewStateWrapper viewState = new ViewStateWrapper(inputText.getText());
						viewState.insertSessionVarsPoC(attackText.getText());
						outputText.setText(viewState.serializeToString());
					}
					catch (Exception e1)
					{
						DisplayText("Error", e1.toString());
					}
				}
			});
		}

	}