Drawing in Java  ASAP

Posted on 2003-02-23
Medium Priority
Last Modified: 2010-03-31
I'm new with Java, and i need something to complete my project.
I need a class / component that allows drawing points, lines and polygons over a certain container. I need to create this drawing via my software.
I think that it can be done using JavaApplets but using applets is not fit to my project.
Question by:Dudic
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

Accepted Solution

alzoid69 earned 150 total points
ID: 8010634
The basic functionality you are talking about is avaiable from the java.awt.graphics class or graphics2d class.
You can use any class that extends java.awt.container (which includes applet) to draw on.  Drawing invloves overiding the containers paint() method.  You can find tutorials on this at java.sun.com

Author Comment

ID: 8015009
Thanks, I ended up with this result myself just today.

Featured Post

Independent Software Vendors: 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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn different types of Android Layout and some basics of an Android App.
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…
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

770 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