public String getArgs() {
		datapattern.setEnabled(true);
		if (random.isSelected())
			datapattern.setArgument("random");
		else if (sequenced.isSelected())
			datapattern.setArgument("sequenced");
		else if (ascii.isSelected() && !word.getText().equals(""))
			datapattern.setArgument("ascii " + word.getText());
		else if (repeat.isSelected() && !word.getText().equals(""))
			datapattern.setArgument(word.getText());
		else
			datapattern.setEnabled(false);
		return datapattern.toString();
	}