Solved

java swing draw a 3d bar

Posted on 2006-10-27
5
200 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
  • 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 125 total points
ID: 17824751
0
 
LVL 6

Expert Comment

by:valipotor
ID: 17824754
0

Featured Post

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Custom Java Application connects to database: Which one of the 20? 4 41
hibernate jars 4 57
Android development question 2 75
web project error add remove 1 49
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
This video teaches viewers about errors in exception handling.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

685 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