if(!buffer.isEditable() || commentStart == null || commentEnd == null)
if(!buffer.isEditable() || commentStart == null || commentEnd == null || commentStart.length() == 0 || commentEnd.length() == 0)
	public void wingComment()	{		String commentStart = (String)buffer.getProperty("commentStart");		String commentEnd = (String)buffer.getProperty("commentEnd");		if(!buffer.isEditable() || commentStart == null || commentEnd == null)		{			getToolkit().beep();			return;		}		commentStart = commentStart + ' ';		commentEnd = ' ' + commentEnd;		buffer.beginCompoundEdit();		try		{			buffer.insertString(selectionStart,commentStart,null);			buffer.insertString(selectionEnd,commentEnd,null);		}		catch(BadLocationException bl)		{			Log.log(Log.ERROR,this,bl);		}		finally		{			buffer.endCompoundEdit();		}		selectNone();	}