Re: working on selected jInternalFrame by a function on toolbar..




<atilagunes@xxxxxxxxx> wrote in message
news:1159010288.198635.101980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,

i'm writing an image editing application. i can open many documents
with new JInternalFrames.. i wrote a new class for JInternalFrames. And
I have a toolbar. i wrote this toolbar into ToolBar.java and adding to
application frame.. When i push the button on it, i want to do that
process on selected JInternalFrame. How can i know which JInternalFrame
is selected ?

JDesktopPane.getSelectedFrame()


.


Quantcast