com.sshtools.common.ui

Class ImagePanel


public class ImagePanel
extends JPanel

Version:
$Revision: 1.17 $
Author:
$author$

Constructor Summary

ImagePanel()
Creates a new ImagePanel object.
ImagePanel(String imageName)
Creates a new ImagePanel object.
ImagePanel(String imageName, int bottom)
Creates a new ImagePanel object.
ImagePanel(ResourceIcon icon, int bottom)
Creates a new ImagePanel object.

Method Summary

Dimension
getPreferedSize()
void
paintComponent(Graphics g)

Constructor Details

ImagePanel

public ImagePanel()
Creates a new ImagePanel object.

ImagePanel

public ImagePanel(String imageName)
Creates a new ImagePanel object.
Parameters:
imageName -

ImagePanel

public ImagePanel(String imageName,
                  int bottom)
Creates a new ImagePanel object.
Parameters:
imageName -
bottom -

ImagePanel

public ImagePanel(ResourceIcon icon,
                  int bottom)
Creates a new ImagePanel object.
Parameters:
icon -
bottom -

Method Details

getPreferedSize

public Dimension getPreferedSize()
Returns:

paintComponent

public void paintComponent(Graphics g)
Parameters:
g -

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.