Comment #1 on issue 73 by Helloworld from  
relies on piccolox

I'll suggest this code as basic Hello-World example (and weave it into the  

import javax.swing.JFrame;

import edu.umd.cs.piccolo.PCanvas;
import edu.umd.cs.piccolo.nodes.PText;

public class HelloPiccolo2d extends JFrame {

     private static final long serialVersionUID = 7325281186388356689L;

     public static void main(final String[] args) {
         final JFrame me = new HelloPiccolo2d();
         me.setSize(200, 50);

     private HelloPiccolo2d() {
         final PCanvas canvas = new PCanvas();
         final PText text = new PText("Hello World");

You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:

Piccolo2D Developers Group:

Reply via email to