?
Solved

java swing draw a 3d bar

Posted on 2006-10-27
5
Medium Priority
?
203 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This video teaches viewers about errors in exception handling.
Suggested Courses
Course of the Month8 days, 18 hours left to enroll

764 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