title: Remove more than one character of a ArrayList with a Keylistener
body: <p>If I remove the last character of my character ArrayList, the ArrayList is not shorter than before removing a Character. So I can not remove more characters than one.</p>
  
  <pre><code>public static ArrayList&lt;Character&gt;  userLineInput;
  
  if (e.getKeyChar() == '\b') {
      if (!userLineInput.isEmpty()) {
          userLineInput.remove(userLineInput.size()-1);
          }
  }
  </code></pre>
  
  <p>Is there a easy way to remove more than one character?</p>