Package gr.zeus.ui

Class JSplashLabel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants

public final class JSplashLabel extends JLabel
Extends JLabel to provide support for custom text drawing inside image used for JSplash component.

Since:
1.06
Author:
Gregory Kotsaftis
See Also:
  • Constructor Details

    • JSplashLabel

      public JSplashLabel(URL url, String s, Font f, Color c)
      Constructor.

      Parameters:
      url - The location of the image (it cannot be null).
      s - The string to draw (can be null).
      f - The font to use (can be null).
      c - The color to use (can be null).
  • Method Details

    • paint

      public void paint(Graphics g)
      Overrides paint in order to draw the version number on the splash screen.

      Overrides:
      paint in class JComponent
      Parameters:
      g - The graphics context to use.