private void addListeners() {
		this.wordCountRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.print("Number of words in the above string is :\t");
				System.out.println(StringDemo.wordCount(StringBasicPanel.this.textField.getText()));
			}
		});

		this.spaceCountRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.print("Number of spaces in the above string is :\t");
				System.out.println(StringDemo.spaceCount(StringBasicPanel.this.textField.getText()));
			}
		});

		this.charCountRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.print("Number of spaces in the above string is :\t");
				System.out.println(StringDemo.charCount(StringBasicPanel.this.textField.getText()));
			}
		});

		this.reverseRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.print("Reverse of above string is :\t");
				System.out.println(StringDemo.reverseString(StringBasicPanel.this.textField.getText()));
			}
		});

		this.pallindromeRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.print("The above String is ");
				if (!StringDemo.pallindrome(StringBasicPanel.this.textField.getText())) {
					System.out.print("not ");
				}
				System.out.println("a pallindrome");
			}
		});

		this.leftTrimRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above String after removing all the spaces from left :\t");
				System.out.println(StringDemo.lTrim(StringBasicPanel.this.textField.getText()));
			}
		});

		this.rightTrimRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above String after removing all the spaces from right :\t");
				System.out.println(StringDemo.rTrim(StringBasicPanel.this.textField.getText()));
			}
		});

		this.trimRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above String after removing all the spaces from all the sides :\t");
				System.out.println(StringDemo.allTrim(StringBasicPanel.this.textField.getText()));
			}
		});

		this.squeezeRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above String after removing all the spaces from everywhere :\t");
				System.out.println(StringDemo.squeeze(StringBasicPanel.this.textField.getText()));
			}
		});

		this.vowelCountRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Number of vowles in above string :\t");
				System.out.println(StringDemo.vowelCount(StringBasicPanel.this.textField.getText()));
			}
		});

		this.lengthRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Length of the above string:\t");
				System.out.println(StringDemo.length(StringBasicPanel.this.textField.getText()));
			}
		});

		this.sequenceCountRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("How many times a character is repeated (continuously) in above string:\n");
				StringDemo.sequenceCount(StringBasicPanel.this.textField.getText());
			}
		});

		this.freqCountCharRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("How many times a character is repeated in above string:\n");
				StringDemo.frequencyCount(StringBasicPanel.this.textField.getText());
			}
		});

		this.changeCaseRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above string after changing the case :\t");
				System.out.println(StringDemo.changeCase(StringBasicPanel.this.textField.getText()));
			}
		});

		this.singleOccuranceButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above string after removing continuous occurance of a letter/character :\t");
				System.out.println(StringDemo.singleOccurance(StringBasicPanel.this.textField.getText()));
			}
		});

		this.sortedOrderRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above String after sorting :\t");
				System.out.println(StringDemo.sortedOrder(StringBasicPanel.this.textField.getText()));
			}
		});

		this.sortedWordRadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				System.out.println("Above string after sorting (sorting according to words) :\t");
				System.out.println(StringDemo.sortedWord(StringBasicPanel.this.textField.getText()));
			}
		});

		this.wordTriangleType1RadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				StringDemo.triangle1(StringBasicPanel.this.textField.getText());
			}
		});

		this.wordTriangleType2RadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				StringDemo.triangle2(StringBasicPanel.this.textField.getText());
			}
		});

		this.wordTriangleType3RadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				StringDemo.triangle3(StringBasicPanel.this.textField.getText());
			}
		});

		this.wordTriangleType4RadioButton.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				StringBasicPanel.this.main.clearOutput();
				StringDemo.triangle4(StringBasicPanel.this.textField.getText());
			}
		});
	}