The classes for the Java2D(TM) demo are contained in the J2Ddemo.jar file.
To run the J2D demo:
% java -jar J2Ddemo.jar
-----------------------------------------------------------------------
Introduction
-----------------------------------------------------------------------
This Java2D demo consistsfor Arcs_Curves, Clipping, Colors, Composite, Fonts, Images,
framework that uses a JTabbedPane. You can access different groups of
demos by clicking the tabs at the top of the pane. There are demo
groups for Arcs_Curves, Clipping, Colors, Composite, Fonts, Images,
Lines, Mix, Paint, Paths and Transforms. On the right-hand side of the
pane, the GUI framework features individual and global controls for
changing graphics attributes. There's also a memory-usage monitor, and
a monitor for trackingthe performance, in frames per second, of
animation demos.
----pane,the GUI framework features individual and global controls for
Tips on usage
-------------changing graphics attributes. There's also a memory-usage monitor, and
Click on one of thea monitor for tracking the performance,in frames second,of
When you select a group, a set of surfaces is displayed, each of which
neof the group's demos. At the bottom of each surface is
a set java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length
0
selecting the Tools checkbox in the Global Controls panel or
by clicking-----------------------------------------------
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0
If you click on a demo surface, that demo is laid out by itself. A
new button in the ' toolstoolbarone enables
you to contains one of the group's demos. At the bottom of each surface is
To run the demo continuously without user selecting the Tools checkbox in the Global Controls slimstrip java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 69
Run Window item in the Options menu and new icon button will appear in the demo's tools toolbar one that enables
new window that'java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
java -jar J2Ddemo.jar -runs=10
To view all the command line options for customizing demo runs:
Run Window item in the Options menu and press the run button in the
You can run the demos in stand-alone java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java -cp java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
canrun the demos in groups by issuing a command like this
java -cp J2Ddemo.jar java2d.DemoGroup java.lang.StringIndexOutOfBoundsException: Index 50 out of bounds for length 0
To increase or decrease the Memory Monitor sampling rate click onjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
's apanel a TextField appear.
The J2Ddemo Memory Monitor's title border, a panel with a TextField will java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 0
gray appear
AnimatedNOTE demojava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
the java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
panel, the directories named according to the demo group name. All drawing
Demosjava.lang.StringIndexOutOfBoundsException: Range [35, 24) out of bounds for length 67
activated and stoppedor classes.
Control panel.
-------------------------------Animated demos implementthe step methods.Thedemos
about demo
------------------------------
The
n directories named java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 68
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 69
AnimatingControlsSurface classes. Surface is the base class, demos
must implement the Surface's render method. All animated demos extend
either the AnimatingSurface or the AnimatingControlsSurface classes.
Animated demos must implement the reset and step methods. The demos
with gui controls extend either the ControlsSurface or the
AnimatingControlsSurface classes. Demos with controls must implement
the methods in the CustomControlsContext interface.
======================================================================
Here are some resources for learning about and using the Java2D(TM)
OpenJDK group page: https://openjdk.org/groups/2d/
Learning JavaSpecification: http:/downloadoracle.om/avase//docs/technotes/guides/2dspec/j2d-bookTOC.html
Tutorial : Java 2D (TM) AP :http:/.java.lang.StringIndexOutOfBoundsException: Index 96 out of bounds for length 96
Specification: http://download.oracle.com/javase/8/docs/technotes/guides/2d/spec/j2d-bookTOC.html
Java 2D (TM) API White Paper : http://www.oracle.com/technetwork/java/javase/tech/ G=94