Use
JDekstopPane.getSelectedFrame() method (
From doc: currently active JInternalFrame in this JDesktopPane, or null if no JInternalFrame is currently active.) or
JDesktopPane.getAllFrames()
to get list of all
JInternalFrames
currently displayed in the desktop and check
isSelected()
method.
No comments:
Post a Comment