@Override
				public void insertString(int offset, String str, AttributeSet attr) throws BadLocationException
				{
					if (!letters)
					{
						try
						{
							@SuppressWarnings("unused")
							int test = Integer.parseInt(str);
							if (str == null)
								return;

							if ((getLength() + str.length()) <= limit)
							{
								super.insertString(offset, str, attr);
							}
						}
						catch (Exception noIntE)
						{
							return;
						}
					}
					else
					{
						if ((getLength() + str.length()) <= limit)
						{
							super.insertString(offset, str, attr);
						}
					}
				}