This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to create such effects shown in the picture? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to create such effects shown in the picture?" Watch "How to create such effects shown in the picture?" New topic
Author

How to create such effects shown in the picture?

Jacky Luk
Ranch Hand

Joined: Aug 02, 2012
Posts: 601
Here's the GUI I targeted at.
Wonder how to create the effects that are circled
Thanks


[Thumbnail for effect.png]

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19725
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create such effects shown in the picture?