File tree 1 file changed +6
-6
lines changed
modules/javafx.controls/src/main/java/javafx/scene/control
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,6 @@ protected Control() {
484
484
return true ;
485
485
}
486
486
487
- @ Override
488
- public boolean isFocusScope () {
489
- return true ;
490
- }
491
-
492
487
// Implementation of the Resizable interface.
493
488
// Because only the skin can know the min, pref, and max sizes, these
494
489
// functions are implemented to delegate to skin. If there is no skin then
@@ -600,6 +595,11 @@ public boolean isFocusScope() {
600
595
}
601
596
}
602
597
598
+ @ Override
599
+ protected boolean isFocusScope () {
600
+ return true ;
601
+ }
602
+
603
603
/* *************************************************************************
604
604
* Implementation of layout bounds for the Control. We want to preserve *
605
605
* the lazy semantics of layout bounds. So whenever the width/height *
@@ -640,7 +640,7 @@ protected Skin<?> createDefaultSkin() {
640
640
}
641
641
642
642
@ Override
643
- public Node getFocusDelegate () {
643
+ protected Node getFocusDelegate () {
644
644
if (skinBase != null ) {
645
645
return skinBase .getFocusDelegate ();
646
646
}
You can’t perform that action at this time.
0 commit comments