1个回答
展开全部
凡是出自Window的容器,JFrame/JWindow等,都有这个方法
public Component getFocusOwner()
Returns the child Component of this Window that has focus if this Window is focused;returns null otherwise.
Returns:the child Component with focus, or null if this Window is not focused
public Component getFocusOwner()
Returns the child Component of this Window that has focus if this Window is focused;returns null otherwise.
Returns:the child Component with focus, or null if this Window is not focused
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询