piccolo2d.java

@Michael L Heuer Michael L Heuer authored on 1 Sep 2012
core Issue 229 ; update maven-checkstyle-plugin dependency version to 2.9 12 years ago
examples Issue 148 ; adding PSwingCameraBug to examples.pswing.issues package 12 years ago
extras Issue 229 ; update maven-checkstyle-plugin dependency version to 2.9 12 years ago
jdk16 Issue 229 ; update maven-checkstyle-plugin dependency version to 2.9 12 years ago
jdk16-examples minor doc fixes 14 years ago
parent updating parent jdk.version to 1.5 13 years ago
src/ site Adding site info back to root, since it seems to behave differently in hudson than on desktop. 15 years ago
swt Issue 229 ; update maven-checkstyle-plugin dependency version to 2.9 12 years ago
swt-examples Issue 205 ; updating copyright year in license header to 2011 14 years ago
.gitignore ignores refined 15 years ago
Readme.txt Issue 37 ; various cleanup related to org.piccolo2d package refactoring 14 years ago
ReleaseNotes.txt updating version to 1.3 15 years ago
license-piccolo.txt Issue 205 ; updating copyright year in license header to 2011 14 years ago
pom.xml Issue 205 ; updating copyright year in license header to 2011 14 years ago
Readme.txt
This is the Piccolo2D.Java README file

INTRODUCTION
	
Welcome to Piccolo2D! Piccolo2D is a revolutionary way (in the Jazz ZUI 
tradition) to create robust, full-featured graphical applications in 
Java, with striking features such as zooming and multiple representation. 
Piccolo2d.Java is an extensive toolkit based on the Java2D API.

REQUIREMENTS

To run Piccolo2D.Java applications you need to have a Java Runtime
Environment (JRE) or Java Development Kit (JDK) version 1.4 or newer.

To build Piccolo2D.Java you need to have a Java Runtime Environment
(JRE) or Java Development Kit (JDK) version 1.5 or newer, and Apache
Maven version 2.0.10 or newer.

Java Runtime Environment (JRE)
http://java.sun.com/javase/downloads/index.jsp#jre

Java Development Kit (JDK)
http://java.sun.com/javase/downloads/index.jsp#jdk

Apache Maven
http://maven.apache.org/download.html

For some platforms, including Mac OSX with JDK version 1.6 or
later on x86_64, the Eclipse Standard Widget Toolkit (SWT) version
3.3.0 or later must also be installed manually.

Eclipse Standard Widget Toolkit
http://www.eclipse.org/swt/

See
http://code.google.com/p/piccolo2d/wiki/BuildSWTOnMacOSX

for further details.


USING PICCOLO2D.JAVA

To include the Piccolo2D core classes in your project, use a
dependency of

<dependency>
  <groupId>org.piccolo2d</groupId>
  <artifactId>piccolo2d-core</artifactId>
  <version>2.0</version>
</dependency>

in your pom.xml.  To include the Piccolo2D core classes and the
Piccolo2D extras classes in your project, use a dependency of

<dependency>
  <groupId>org.piccolo2d</groupId>
  <artifactId>piccolo2d-extras</artifactId>
  <version>2.0</version>
</dependency>

in your pom.xml.  To include the Piccolo2D core classes and the
Piccolo2D SWT classes in your project, use a dependency of

<dependency>
  <groupId>org.piccolo2d</groupId>
  <artifactId>piccolo2d-swt</artifactId>
  <version>2.0</version>
</dependency>

in your pom.xml.  If your project does not use maven, simply include
the relevant Piccolo2D jars in your project's classpath.


BUILDING PICCOLO2D.JAVA

To build all the Piccolo2D modules

$ mvn install

To build and run the Piccolo2D examples runnable jar

$ cd examples
$ mvn assembly:assembly
$ java -jar target/piccolo2d-examples-1.3-jar-with-dependencies.jar

To build and run the Piccolo2D SWT examples runnable jar

$ cd swt-examples
$ mvn assembly:assembly
$ java -jar target/piccolo2d-swt-examples-1.3-jar-with-dependencies.jar