title: JTabbedPane Achieve mouse change height
body: <p>Idea has a console window that looks like it's implemented with JTabbedPane</p>
  <p>Console window image:</p>
  <p><a href="https://i.stack.imgur.com/i9LAx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/i9LAx.png" alt="https://i.stack.imgur.com/i9LAx.png" /></a></p>
  <p>Can change the size by hovering over it:</p>
  <p><a href="https://i.stack.imgur.com/bTzen.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bTzen.png" alt="https://i.stack.imgur.com/bTzen.png" /></a></p>
  <p>How do implement this UI effect in Swing?</p>
  <p>JTabbedPane can have a similar effect, but cannot change the height with the mouse.</p>