92 |
&& comp.enabled) |
&& comp.enabled) |
93 |
{ |
{ |
94 |
if (comp.isFocusTraversableOverridden != 0 |
if (comp.isFocusTraversableOverridden != 0 |
95 |
&& comp.isFocusTraversable ()) |
&& (comp.isFocusTraversable () || comp.isFocusable())) |
96 |
return true; |
return true; |
97 |
else |
|
|
{ |
|
98 |
if (!(comp instanceof Canvas |
if (!(comp instanceof Canvas |
99 |
|| comp instanceof Panel |
|| comp instanceof Panel |
100 |
|| comp instanceof Label |
|| comp instanceof Label |
104 |
|| comp.isLightweight ())) |
|| comp.isLightweight ())) |
105 |
return true; |
return true; |
106 |
} |
} |
|
} |
|
107 |
return false; |
return false; |
108 |
} |
} |
109 |
} |
} |