code: public static JTimePopup createTimePopup(String strDateParam, Date dateTarget, Component button, String strLanguage)
      {
          JPopupMenu popup = new JPopupMenu();
          JComponent c = (JComponent)popup; //?.getContentPane();
          c.setLayout(new BorderLayout());
          JTimePopup calendar = new JTimePopup(strDateParam, dateTarget, strLanguage);
          JScrollPane scrollPane = new JScrollPane(calendar);
          if (calendar.getSelectedIndex() != -1)
              calendar.ensureIndexIsVisible(calendar.getSelectedIndex());
          c.add(scrollPane, BorderLayout.CENTER);
          popup.show(button, button.getBounds().width, 0);
          return calendar;
      }
docs: Create this calendar in a popup menu and synchronize the text field on change.
  @param strDateParam The name of the date property (defaults to "date").
  @param dateTarget The initial date for this button.
  @param strLanguage The language to use.
  @param button The calling button.