Class JXDatePicker.TodayPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, AlphaPaintable, BackgroundPaintable
Enclosing class:
JXDatePicker

private final class JXDatePicker.TodayPanel extends JXPanel
Pes: added setLocale method to refresh link text on locale changes
  • Field Details

  • Constructor Details

    • TodayPanel

      TodayPanel()
  • Method Details

    • createDoubleClickListener

      private MouseListener createDoubleClickListener()
      Returns:
    • paintComponent

      protected void paintComponent(Graphics g)
      Description copied from class: JXPanel
      Overridden to provide Painter support. It will call backgroundPainter.paint() if it is not null, else it will call super.paintComponent().
      Overrides:
      paintComponent in class JXPanel
      Parameters:
      g - the Graphics context in which to paint
    • setLocale

      public void setLocale(Locale l)

      Overridden to update the link format and hyperlink text.

      Overrides:
      setLocale in class Component