ion many times
  for processing different events in different documents.
  </p>


  <h2>Threading and synchronization</h2>

  <p>
  As explained earlier Netbeans editors follow swing concepts for handling keyboard
  events. All keyboard events processing and editor actions invocation in swing
  editors is done in the AWT thread, which means that events are processed in one
  thread only and in the order as they happened. The same applies for interceptors
  and Typing Hooks SPI in general.
  </p>

  <p>
  In