< prev index next >
modules/javafx.swing/src/main/java/javafx/embed/swing/JFXPanel.java
Print this page
*** 891,901 ****
@Override
public InputMethodRequests getInputMethodRequests() {
EmbeddedSceneInterface scene = scenePeer;
if (scene == null) {
! return null;
}
return new InputMethodSupport.InputMethodRequestsAdapter(scene.getInputMethodRequests());
}
/**
--- 891,901 ----
@Override
public InputMethodRequests getInputMethodRequests() {
EmbeddedSceneInterface scene = scenePeer;
if (scene == null) {
! return new InputMethodSupport.InputMethodRequestsAdapter(null);
}
return new InputMethodSupport.InputMethodRequestsAdapter(scene.getInputMethodRequests());
}
/**
*** 968,977 ****
--- 968,978 ----
dnd = null;
}
});
return;
}
+ getInputMethodRequests();
if (pWidth > 0 && pHeight > 0) {
scenePeer.setSize(pWidth, pHeight);
}
scenePeer.setPixelScaleFactors((float) scaleFactorX, (float) scaleFactorY);
< prev index next >