public void actionPerformed(ActionEvent arg0) {
				String[] w = textArea.getText().split(" ");
				int number = w.length - 1;
				String words = Integer.toString(number);
				Tekst t = new Tekst();
				String l = t.brLinija(textArea);

				if (chSTbar.isSelected()) {
					st.setVisible(true);
				} else
					st.setVisible(false);
				st.setText("words: " + words + " Lines:" + l);
			}