Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Introduction to Java Graphics Libraries

I just got into information-visualization and scientific-visualization and have been using Piccolo and a little with JFreeChart. I am trying to find a few new libraries that I can start using. I am looking specifically for libraries that involve multi-dimensional visualization and map overlaying (something like open-layers), but would be open to get exposure to any graphics libraries.

like image 864
slimbo Avatar asked Nov 29 '09 16:11

slimbo


People also ask

What are graphics in Java?

A Graphics object encapsulates state information needed for the basic rendering operations that Java supports. This state information includes the following properties: The Component object on which to draw. A translation origin for rendering and clipping coordinates.

How do you code graphics in Java?

In the main method, we: Create a JFrame object, which is the window that will contain the canvas. Create a Drawing object (which is the canvas), set its width and height, and add it to the frame. Pack the frame (resize it) to fit the canvas, and display it on the screen.

What is Java awt graphics?

The Graphics class is the abstract super class for all graphics contexts which allow an application to draw onto components that can be realized on various devices, or onto off-screen images as well. A Graphics object encapsulates all state information required for the basic rendering operations that Java supports.

What is graphics in applet in Java?

All graphics are drawn relative to a window. This can be the main window of an applet, a child window of an applet, or a stand-alone application window. The origin of each window is at the top-left Coordinates 0,0. Coordinates are specified in pixels.


1 Answers

You may want to look at Processing - a data visualisation environment and language written in Java.

like image 172
Brian Agnew Avatar answered Nov 12 '22 10:11

Brian Agnew