title: Netbeans Window Groups w/Annotations
body: <p>I've seen tutorials and questions like the following:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/9922179/creating-window-groups-on-netbeans-platform">https://stackoverflow.com/questions/9922179/creating-window-groups-on-netbeans-platform</a></li>
  <li><a href="https://blogs.oracle.com/geertjan/entry/creating_a_window_group" rel="nofollow noreferrer">https://blogs.oracle.com/geertjan/entry/creating_a_window_group</a></li>
  </ul>
  
  <p>Those refer to the old ways of doing this via xml files, etc. is there a way to accomplish this but with annotations?</p>
  
  <p>I tried with annotations as follows:</p>
  
  <pre><code>@TopComponent.Description(
          preferredID = "ChatTopComponent",
          //iconBase="SET/PATH/TO/ICON/HERE", 
          persistenceType = TopComponent.PERSISTENCE_NEVER
  )
  @TopComponent.Registration(mode = "output", openAtStartup = false,
          roles = {"Game"})
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>I'm using Platform version RELEASE80</p>
  
  <p><strong>Update</strong></p>
  
  <p>Added a sample project with the issue as requested <a href="https://drive.google.com/file/d/0B1oCYY8ny-i1VGhYV010eWdPcm8/view?usp=sharing" rel="nofollow noreferrer">here</a>.</p>