title: Custom JMenuItems in Java
body: <p>Would it be possible to create a custom <code>JMenuItem</code> that contains buttons? For example would it be possible to create a <code>JMenuITem</code> with an item similar to this: </p>
  
  <p><img src="https://i.stack.imgur.com/MFBie.png" alt="screenshot of Google Chrome&#39;s customize and control menu with the edit menu item circled"></p>
  
  <pre><code>+----------------------------------------+
  | JMenuItem [ Button | Button | Button ] |
  +----------------------------------------+
  </code></pre>