How can I develop a toolbar Java that looks like the toolbar in Microsoft Outlook?

Senthil D. Kumar

You can create in the normal way using JToolbar class in swing. To get the special effects in the toolbar like the outlook express toolbar u can do the following :

For each toolbar button :

and add MouseMotionListner to the buttons.

In the mouseEntered method do :

and in the mouseExited method, do :
To simulate a dropdown list in the toolbar, add a JComboBox instead of a button.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.