    All Packages  Class Hierarchy  This Package  Previous  Next  Index

# Class JSci.swing.JImageCanvas

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----javax.swing.JComponent
                               |
                               +----JSci.swing.JImageCanvas

public class JImageCanvas
extends JComponent

The JImageCanvas class allows an image to be directly added to a container.

##

image

##

JImageCanvas(Image)
  Constructs an image canvas.

##

paint(Graphics)
  Paints the canvas.

##

image

     protected Image image

##

JImageCanvas

     public JImageCanvas(Image img)

  Constructs an image canvas.

##

paint

     public void paint(Graphics g)

  Paints the canvas.

  Overrides:
    paint in class JComponent

    All Packages  Class Hierarchy  This Package  Previous  Next  Index