piccolo2d.java / extras / src / main / java / edu / umd / cs / piccolox / pswing /
@Allain Lalonde Allain Lalonde authored on 15 Jul 2009
..
PComboBox.java Added some tests for PComboBox and added getters for canvas and pSwing 15 years ago
PSwing.java Fixed Issue 83; Guessed that the ellipses were caused my Mac's ability to do subpixel font rendering and MS's inability to do so. MS was probably rounding down to the next pixel and macs were not, allowing the text to be a couple pixels longer. Disabling it seems to do the trick. 15 years ago
PSwingCanvas.java Issue 59 ; updating license date range to include 2009 16 years ago
PSwingEventHandler.java Issue 59 ; updating license date range to include 2009 16 years ago
PSwingMouseEvent.java Issue 59 ; updating license date range to include 2009 16 years ago
PSwingMouseMotionEvent.java Issue 59 ; updating license date range to include 2009 16 years ago
PSwingRepaintManager.java Issue 59 ; updating license date range to include 2009 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