Package dialog

Class LogoPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class LogoPanel extends JPanel
Class for a logo panel (about dialog box).
Since:
2004.06.05
See Also:
  • Field Details

  • Constructor Details

    • LogoPanel

      public LogoPanel()
      Create a logo panel
      Since:
      2007.02.08 (Christian Borgelt)
    • LogoPanel

      public LogoPanel(int id)
      Create a logo panel
      Parameters:
      id - the identifier of the logo to use: OTTO, ECSC, or PLUS
      Since:
      2007.02.08 (Christian Borgelt)
  • Method Details

    • getPreferredSize

      public Dimension getPreferredSize()
      Get the preferred size of the logo panel.
      Overrides:
      getPreferredSize in class JComponent
      Returns:
      the preferred size of the logo panel
      Since:
      2004.06.05 (Christian Borgelt)
    • paint

      public void paint(Graphics g)
      Draw the logo panel.
      Overrides:
      paint in class JComponent
      Parameters:
      g - the graphics to use for drawing
      Since:
      2004.06.05 (Christian Borgelt)