Results 1 to 4 of 4
- 02-18-2011, 03:32 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 19
- Rep Power
- 0
Handling component in multiple Tabs
Hello forum, I am posting to ask how to handle a Jtree.
I need to have the same Jtree showing in two different tabs and every change that happens to the first it should happen to the second too.
Is there any way to connect the Jtrees so that when an event occurs to the jtree in the first tab the same event to be triggered in the second one ? or is there a better solution? Help me please.
- 02-18-2011, 04:12 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
- 02-19-2011, 02:26 PM #3
Member
- Join Date
- Dec 2010
- Posts
- 19
- Rep Power
- 0
Thank you for your reply Jos.
Unfortunately there are more than one tree models that I need to use and they depend on the actions of the user, so I need to have the same events for both trees too, and I need to have the "Selected Path" to be the same. If there is no better way I guess I will have to change the program. but can't I link the trees somehow ?
- 02-19-2011, 02:32 PM #4
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
Similar Threads
-
Handling input - multiple keys pressed
By Shadowstrike in forum Advanced JavaReplies: 3Last Post: 12-30-2010, 01:47 PM -
Handling multiple WAV files and saving them into ONE
By phil128 in forum Advanced JavaReplies: 2Last Post: 12-11-2010, 02:31 PM -
setSelectedIndex (How to move between tabs)
By lolshooter in forum New To JavaReplies: 4Last Post: 02-02-2010, 03:15 PM -
Getting to the top level dialog from sub-tabs.
By Drun in forum EclipseReplies: 4Last Post: 11-19-2009, 06:03 AM -
SWT tabs with Draw2d
By garyscarter in forum SWT / JFaceReplies: 0Last Post: 07-07-2009, 03:31 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks