This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cool java swing application  RSS feed

 
paul wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
paul wang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot, but can you give me one example code for that toolbar? your help is appreciated.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
perfect,you are really so nice and i can continue my work, thanks again for your help
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!