Solved

java swing draw a 3d bar

Posted on 2006-10-27
5
199 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
object oriented programming comparison 5 77
tomcat administrtor 12 61
eclipse buid path vs tomcat lib path 10 34
maven disable workspace resolution 1 22
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…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video teaches viewers about errors in exception handling.

829 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