This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
high every body i have get may help from this forum so i have problem occur during the programming of java the problem is that I have main frame which extend from Jframe ihave manu which belong to main frame and i have an other class which extends from iframe in which i made a table i want to copy table enreis from cut copy past menuitem which are in main frame class how could i do that event handling please help i am so upset about this thanks in advance for all visitores
Use JDesktopPane's getSelectedFrame method to find out which internal frame you should be interacting with. Once you have its JTable, you need to know which cell has focus: focus coincides with selection [ November 09, 2005: Message edited by: Jeff Albrechtsen ]
There is no emoticon for what I am feeling!
Joined: Mar 14, 2005
Thanks for that code but i want that when i select table row and then i press copy menu item the data which is selected selected asing to variable of object type how could i do that
Joined: Sep 16, 2005
I'm not sure where you are stuck. I believe I've sketched out the key parts. perhaps you should post code showing where you are in the problem.