Java
  Home arrow Java arrow Getting Started with Java 2D
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Getting Started with Java 2D
By: A.P.Rajshekhar
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 2
    2007-05-08

    Table of Contents:
  • Getting Started with Java 2D
  • Two-dimensional drawing
  • Image Processing
  • Using Java 2D API Step By Step

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Getting Started with Java 2D


    (Page 1 of 4 )

    Drawing or Graphics APIs form an integral part of any language. They let you access the host operating system's GUI services. They are needed not only for implementing and rendering custom GUI controls and components for a standalone system; they also provide for non-GUI control based applications such as image manipulation, graph rendering functions and so on. Among current languages almost all provide drawing APIs. Java is no exception.

    Java provides the Drawing APIs in the form of packages which are placed under the name Java 2D API. In this discussion I will focus on the basics of Java 2D API. I will discuss the whys and wherefores of the API, and enumerate the steps for using Java 2D API. In the second part of this article (which will appear tomorrow), I will focus on an example that demonstrates the various aspects of Java 2D. That's the outline for this discussion.

    Java 2D API: What is it?

    By definition Java 2D API is "a set of classes for advanced 2D graphics and imaging, encompassing line art, text, and images in a single comprehensive model providing extensive support for image compositing and alpha channel images, a set of classes to provide accurate color space definition and conversion, and a rich set of display-oriented imaging operators." The definition itself provides us with the types of functionalities provided by Java 2D. These functionalities can be divided into two major categories:

    1. Two-dimensional drawing
    2. Image processing

    While the former deals exclusively with drawing (either on components or images), the latter is for dealing with images. Now let's look at the functionalities provided by each of them.

    More Java Articles
    More By A.P.Rajshekhar


       · In this article I have discussed the basics of Java 2D graphics. Please do...
     

    JAVA ARTICLES

    - Deploying Multiple Java Applets as One
    - Deploying Java Applets
    - Understanding Deployment Frameworks
    - Database Programming in Java Using JDBC
    - Extension Interfaces and SAX
    - Entities, Handlers and SAX
    - Advanced SAX
    - Conversions and Java Print Streams
    - Formatters and Java Print Streams
    - Java Print Streams
    - Wildcards, Arrays, and Generics in Java
    - Wildcards and Generic Methods in Java
    - Finishing the Project: Java Web Development ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
    Stay green...Green IT