aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes cool java swing application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "cool java swing application" Watch "cool java swing application" New topic
Author

cool java swing application

paul wang
Greenhorn

Joined: Jun 15, 2001
Posts: 5

Who know how to generate such toolbar at the left side of this java swing application?and what's more, how to set the backend image of jdesktopPane?
With best regards


I love java, I love communication
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

The toolbar is a custom component... probably built using buttons connected to Panels that are setVisible( true/false ) when the button is pressed...

As for setting the Icon of a JDesktop, here is some code that I have that does the same thing...





-Nate


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
paul wang
Greenhorn

Joined: Jun 15, 2001
Posts: 5
thanks a lot, but can you give me one example code for that toolbar? your help is appreciated.
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Here's a quick example of how to do the toolbar... it still needs a little work, but it shows generally how to do this...

paul wang
Greenhorn

Joined: Jun 15, 2001
Posts: 5
perfect,you are really so nice and i can continue my work, thanks again for your help
 
Don't get me started about those stupid light bulbs.
 
subject: cool java swing application