changeset 3997:ab5dd0cc19d8

RT-30942 - DatePicker : remove Scenic popup
author mickf
date Mon, 17 Jun 2013 15:58:54 +0100
parents 2860bee1e5c2
children 12d2d28f86b8
files javafx-ui-controls/src/com/sun/javafx/scene/control/skin/DatePickerContent.java
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/DatePickerContent.java	Mon Jun 17 15:58:52 2013 +0100
+++ b/javafx-ui-controls/src/com/sun/javafx/scene/control/skin/DatePickerContent.java	Mon Jun 17 15:58:54 2013 +0100
@@ -247,19 +247,6 @@
                     }
                 }
 
-                // our little secret... borrowed from Scene.java
-                if (!e.isConsumed() && e.getCode() == KeyCode.DIGIT8 &&
-                     e.getEventType() == KeyEvent.KEY_PRESSED && e.isControlDown() && e.isShiftDown()) {
-                    try {
-                        Class scenicview = Class.forName("com.javafx.experiments.scenicview.ScenicView");
-                        Class params[] = new Class[] { getScene().getClass() };
-                        java.lang.reflect.Method method = scenicview.getDeclaredMethod("show", params);
-                        method.invoke(null, getScene());
-                    } catch (Exception ex) {
-                        //System.out.println("exception instantiating ScenicView:"+ex);
-                    }
-                }
-
                 // Consume all key events except those that control
                 // showing the popup.
                 switch (e.getCode()) {