374 }
375
376 /**
377 * This class should be treated as a "protected" inner class.
378 * Instantiate it only within subclasses of {@code MetalComboBoxUI}.
379 *
380 * This class is now obsolete and doesn't do anything and
381 * is only included for backwards API compatibility. Do not call or
382 * override.
383 *
384 * @deprecated As of Java 2 platform v1.4.
385 */
386 @Deprecated
387 public class MetalComboPopup extends BasicComboPopup {
388
389 /**
390 * Constructs a new instance of {@code MetalComboPopup}.
391 *
392 * @param cBox an instance of {@code JComboBox}
393 */
394 public MetalComboPopup( JComboBox cBox) {
395 super( cBox );
396 }
397
398 // This method was overloaded and made public. This was probably
399 // mistake in the implementation. The functionality that they used to
400 // provide is no longer necessary and should be removed. However,
401 // removing them will create an uncompatible API change.
402
403 public void delegateFocus(MouseEvent e) {
404 super.delegateFocus(e);
405 }
406 }
407 }
|
374 }
375
376 /**
377 * This class should be treated as a "protected" inner class.
378 * Instantiate it only within subclasses of {@code MetalComboBoxUI}.
379 *
380 * This class is now obsolete and doesn't do anything and
381 * is only included for backwards API compatibility. Do not call or
382 * override.
383 *
384 * @deprecated As of Java 2 platform v1.4.
385 */
386 @Deprecated
387 public class MetalComboPopup extends BasicComboPopup {
388
389 /**
390 * Constructs a new instance of {@code MetalComboPopup}.
391 *
392 * @param cBox an instance of {@code JComboBox}
393 */
394 public MetalComboPopup( JComboBox<Object> cBox) {
395 super( cBox );
396 }
397
398 // This method was overloaded and made public. This was probably
399 // mistake in the implementation. The functionality that they used to
400 // provide is no longer necessary and should be removed. However,
401 // removing them will create an uncompatible API change.
402
403 public void delegateFocus(MouseEvent e) {
404 super.delegateFocus(e);
405 }
406 }
407 }
|