@Override
			public void remove(int i, int j) throws BadLocationException
			{
				if(!this.autoCompletion)
				{
					super.remove(i, j);
					return;
				}
				int k = getSelectionStart();
				if(k > 0)
					k--;
				if(getText(0, k).equals(""))
				{
					super.remove(0, getLength());
					return;
				}
				String s = getMatch(getText(0, k));
				if(!Java2sAutoTextField.this.isStrict && s == null)
					super.remove(i, j);
				else
				{
					super.remove(0, getLength());
					super.insertString(0, s, null);
				}
				if(Java2sAutoTextField.this.autoComboBox != null && s != null)
					Java2sAutoTextField.this.autoComboBox.setSelectedValue(s);
				try
				{
					setSelectionStart(k);
					setSelectionEnd(getLength());
				}
				catch(Exception ignored)
				{
				}
			}