Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create such effects shown in the picture?

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's the GUI I targeted at.
Wonder how to create the effects that are circled
Thanks
effect.png
[Thumbnail for effect.png]
 
Rob Spoor
Sheriff
Pie
Posts: 20550
57
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The top thing can be handled by a JToolBar. You just need to add JButtons with the proper horizontal and vertical text positions and alignments set.

The bottom thing is often called an accordion. That term should be able to help you out further.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic