Package ptolemy.media

Examples of ptolemy.media.Picture


            return;
        }

        if (_picture == null) {
            // Create the pane.
            _picture = new Picture(_oldXSize, _oldYSize);
        }

        // Place the pane in supplied container.
        _container.add(_picture, BorderLayout.CENTER);
    }
View Full Code Here


                Container container = _picture.getParent();

                container.remove(_picture);

                _picture = new Picture(xSize, ySize);
                _picture.setImage(image);
                _picture.setBackground(null);
                container.add("Center", _picture);
                container.validate();
                container.invalidate();
View Full Code Here

            // The second argument prevents a status bar.
            frame = new TableauFrame(this, null);
        }

        setFrame(frame);
        _picture = new Picture(_oldxsize, _oldysize);
        frame.getContentPane().add(_picture, BorderLayout.CENTER);

        // Display current data.
        Iterator tokens = effigy.getTokens().iterator();
View Full Code Here

                JFrame castTop = (JFrame) top;

                castTop.getContentPane().remove(_picture);

                _picture = new Picture(xsize, ysize);
                _picture.setImage(image);
                _picture.setBackground(null);

                // FIXME: This messes up the menus!
                castTop.getContentPane().add(_picture, BorderLayout.CENTER);
View Full Code Here

                Container container = _picture.getParent();

                container.remove(_picture);

                _picture = new Picture(xSize, ySize);

                //_picture.setImage(image);
                _picture
                        .setImage(_convertBWImageToPackedRGBImage((IntMatrixToken) in));
                _picture.setBackground(null);
View Full Code Here

TOP

Related Classes of ptolemy.media.Picture

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.