gnu.kawa.swingviews

Class SwingPaintable

public class SwingPaintable extends JPanel

Embeds a Paintable object in a JPanel,.
Constructor Summary
SwingPaintable(Paintable paintable)
Method Summary
DimensiongetPreferredSize()
voidpaint(Graphics g)

Constructor Detail

SwingPaintable

public SwingPaintable(Paintable paintable)

Method Detail

getPreferredSize

public Dimension getPreferredSize()

paint

public void paint(Graphics g)