[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

java swing draw a 3d bar

Hi,
     I want to draw a 3d bar just by using  Graphics2D  g2d.fillRect  method. I can draw regular bars for bar graphs already. What's a good approach to do so or is there another way? Any hint would help. thanks
0
azcalv408
Asked:
azcalv408
  • 2
1 Solution
 
hoomanvCommented:
fillRect wont help much as it only fills an area with a single color, for 3D ones you need to draw some sort of lines and rectangles too
Use print screen to take a screen shot of a good looking 3D bar that you want, paste it in paint and zoom the image, now you can see the details of the bar accurately
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now