Improvements to PSwing
My team and I have implemented and tested improvements for PSwing; the changes include

 

1.       API improvement (so that PSwing can be constructed without the destination PSwingCanvas as constructor arg). Old constructor is deprecated for compatibility with existing code.

2.       Bugfixes in rendering

 

The attached zip file contains 4 changed files:

PSwing.java: contains the bulk of changes to api & implementation

PSwingCanvas.java: minor change to facilitate adding/removal of pswing from canvas.

tests/TestPSwing: rewritten to use new PSwing constructor

tests/TestPSwingFull: rewritten to use new PSwing constructor

Sam Reid - reids@colorado.edu
1 parent 83c1916 commit 8d4cc3a746f2cee2e3ea934b7fd9f1dfd0e53b38
@Ben Bederson Ben Bederson authored on 14 Apr 2007
Showing 6 changed files
View
examples/edu/umd/cs/piccolo/examples/PSwingExample.java
View
examples/edu/umd/cs/piccolo/examples/SliderExample.java
View
extras/edu/umd/cs/piccolox/pswing/PSwing.java
View
extras/edu/umd/cs/piccolox/pswing/PSwingCanvas.java
View
extras/edu/umd/cs/piccolox/pswing/tests/TestPSwing.java
View
extras/edu/umd/cs/piccolox/pswing/tests/TestPSwingFull.java