Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

java swing draw a 3d bar

Posted on 2006-10-27
5
Medium Priority
?
204 Views
Last Modified: 2010-03-31
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
Comment
Question by:azcalv408
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 14

Expert Comment

by:hoomanv
ID: 17824643
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
 
LVL 6

Accepted Solution

by:
valipotor earned 500 total points
ID: 17824751
0
 
LVL 6

Expert Comment

by:valipotor
ID: 17824754
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question