piccolo2d.java / extras / src / main / java / edu / umd / cs / piccolox / pswing /
@Michael L Heuer Michael L Heuer authored on 8 Oct 2008
..
PComboBox.java Issue 59 ; copyright start year should be 1998 to match oldest files 16 years ago
PSwing.java Issue 20 ; adding ContainerAdapter to disable double-buffering in children added to a container after the container has been added to a PSwing component 16 years ago
PSwingCanvas.java Issue 25 ; use the current PSwing repaint manager if one has been set, or create a new one if it is not of the right type 16 years ago
PSwingEventHandler.java Issue 15 ; properly consume mouse events in PSwing components 16 years ago
PSwingMouseEvent.java Issue 59 ; copyright start year should be 1998 to match oldest files 16 years ago
PSwingMouseMotionEvent.java Issue 59 ; copyright start year should be 1998 to match oldest files 16 years ago
PSwingRepaintManager.java Issue 59 ; re-assigning copyright, per Sam Reid: 'I wrote the code that is copyrighted by University of Colorado, and I don't see any problems with reassigning copyright/license.' 16 years ago
package.html issue#44 subdirectory and artifact rename 16 years ago
readme.txt issue#44 subdirectory and artifact rename 16 years ago
readme.txt
This directory contains source and examples for embedding Swing components in a Piccolo hierarchy.  This code was ported from a Jazz implementation.

Example usage:

        JSlider js = new JSlider( 0, 100 );
        PSwing pSwing = new PSwing( pswingCanvas, js );
        l.addChild( pSwing );

Known Issues
o Handling cursors on Swing components is not yet supported.
o Creation of a PSwing currently requires an instance of the PSwingCanvas in which the component will appear.  Future versions could delete this requirement, so that the constructor is simply PSwing(JComponent), and the PSwing can appear in many PSwingCanvases.

This code has been tested in a variety of situations by 4 or 5 independent users, but with more users, some bugs will be most likely be exposed.  (This code comes with NO WARRANTY, etc.)

Sam Reid
reids@colorado.edu