This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Handling event In Jframe Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Handling event In Jframe" Watch "Handling event In Jframe" New topic
Author

Handling event In Jframe

nabi bux
Ranch Hand

Joined: Mar 14, 2005
Posts: 73
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
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
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!
nabi bux
Ranch Hand

Joined: Mar 14, 2005
Posts: 73
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
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Handling event In Jframe
 
Similar Threads
Calling Iframe In Jframe
understanding simple gui code
Event Dispatch Thread question
Delete rows from Jtable when the checkbox is checked
Question about splach screen + Jframe