textArea.replaceSelection("\t");
textArea.setSelectedText("\t");
        public void actionPerformed(ActionEvent evt)        {                View view = getView(evt);                Buffer buffer = view.getBuffer();                JEditTextArea textArea = view.getTextArea();                Mode mode = buffer.getMode();		int selStart = textArea.getSelectionStart();		int selEnd = textArea.getSelectionEnd();                if(selStart == selEnd			&& "on".equals(buffer.getProperty("indentOnTab"))			&& mode.indentLine(buffer,view,selStart))                {				return;                }                if("yes".equals(buffer.getProperty("noTabs")))                {			Element map = buffer.getDefaultRootElement();			Element lineElement = map.getElement(map.getElementIndex(				selStart));			try			{				String line = buffer.getText(lineElement					.getStartOffset(),selStart -					lineElement.getStartOffset());				textArea.replaceSelection(createSoftTab(line,					buffer.getTabSize()));			}			catch(BadLocationException bl)			{				bl.printStackTrace();			}                }                else                        textArea.replaceSelection("\t");        }