How can I manage multiple JTrees by establishing a link between them?

Hi guys,
I have a program that load 2 JTree in a separate panel by JSplitPane.
Now what I want to do is that if I click on a node in one of these trees in one SplitPane, I want the other tree to do something correspondingly in another SplitPane.
I know I can make the game big as 2 threads, but I try to solve it in a minimum solution.
Is there any hints and examples?
Thanks
Michael

Hi, again,
I have 2 JTree objects. I wrote a JTree node selection listener extends the MouseAdaptor to respond to mouse click in my first JTree object.
The listener works fine and can return me what I need, for example return me the node I clicked and some associated nodes which located in my second tree.These 2 trees locate in separating splitPane in a GUI window.
My idea is let the second tree be updated spontaneously upone the clicking in my first JTree node..How could I inform the second tree about my mouse event in the first tree?
Thanks to your replies.

Similar Messages

  • How can I send multiple pictures to the Kodak link (under file & then order prints)? if the photos are not sequential can it be done?

    how can I send multiple pictures to the Kodak link (under file & then order prints)?  if the photos are not sequential can it be done?

    Does the order matter here?Because the photos will be sent for printing. If there is any other reason, can you please cite example.

  • How can I manage multiple libraqries on iTunes?

    My HD is getting too full, mainly because of Movies & TV shows. How can I keep my music and Podcasts on my HD and movies and TV shows on my second HD (or and external derive)?
    If I can do this, I am usually on Music, but how do I purchase a movie from iTunes store?
    Having achieved this, how do I get it onto Apple TV?
    Many Thanks
    Richard

    kingrich wrote:
    My HD is getting too full, mainly because of Movies & TV shows. How can I keep my music and Podcasts on my HD and movies and TV shows on my second HD (or and external derive)?
    Maintaining multiple libraries is feasible, but ultimately a bad idea unless you have absolutely no other choice. iTunes can handle switching between multiple libraries, but it is not designed to properly manage multiple libraries. The better option is to move your entire music folder (media file library) to a larger, dedicated volume. You have a Power Mac G5 so you have a number of options, but first there are some things that you need to tell us:
    1. What is the capacity of your current hard drive?
    2. Do you have a second internal drive? If so, what is the secondary drive’s capacity?

  • How can I manage multiple devices in iCloud?

    I have 30 devices that I need to manage.  I want all devices to be managed under a single iTunes account.  Attempting to have a separate itunes account for every device would be a huge headach, and serious time-waster.
    I do not care one whit about iTunes on a computer, so please don't point me to the article on using multiple iDevices on a single computer.  These devices are not synchronized to computers, unless individual users decide to sync their phone to load up music, photos or whatever.  Further, when the phones come into IT I do not care at all for the data stored on the phones.  These are business phones. So if a user chooses to put anything on the phone, that user is responsible for backing it up / reloading if we have to wipe it.
    So, with those criteria -- HOW do I manage all of these devices on a single iCloud account?  Most specifically, I am trying to get "Find My iPhone" to work, but it says that all devices are off-line.  I have my assigned phone in my hand, turned on, and using the internet.
    In truth, I actually don't care about anything except the Find My iPhone functionality -- we do not sync our phones with iCloud.

    The following link has instructions: Manage your iCloud storage - Apple Support

  • How can I Manage Multiple Users?

    My wife and I both want to organize and edit our digital photos with PSE10.  Up until now, I have managed all of our photos by myself, and I have synchronized all data on both of our computers (and backed up all of our data to an external harddrive).  Now that my wife also wants to organize and edit our photos on her computer, I am finding it difficult to synchronize the PSE Catalogs and photos on our two computers.  So, I am looking for a better procedure. 
    Should I (and can I) keep my PSE Catalog & Photos on: 
    (1) an External Harddrive (which would be connected to only one computer at a time, while that computer user is organizing and editing photos), or 
    (2) on a Home Network location where both users could access the photos for organizing and editing (with a "lockout" for photos which are being edited by the other computer user)? 
    Are there other good or better procedures for managing multiple users of PSE? 
    My computer is running Win7 Home Premium 64-bit. 
    My wife's computer is running Windows Vista Home Premium 32-bit.

    Thank all of you for your replies. 
    Re SOFTWARE CHOICES:
    I decided that my wife and I will each use different software on our different computers.
    I decided NOT to upgrade my wife's software from "Windows Live Photo Gallery" (WLPG) to "Adobe Photoshop Elements 10" (PSE).  After a detailed discussion of my wife's wishes, I discovered that she only wants to (1) move our pictures into folders, (2) cull the pix, and (3) create "Album" folders (with only our most memorable pix) to be printed as 8.5" x 11" pages for the Albums.  She wants me to crop, edit, add captions, and print the Album pages.  See the image at the bottom for our current Photo Mgmt Plan.
    I will continue to use "Lightroom" (Lr).
    Re SYCHRONIZATION: 
    I decided that we both can use the same picture files.  I use "GoodSync" to sychronize files between my computer and my wife's computer (and between my computer and my backup HDD). 
    My wife's "WLPG" does NOT appear to use a database.  My changes (including "Keyword" edits or adds) show up in her "WLPG" program, when picture files have been changed by myself in "Lr" and sychronized with her computer.
    After my wife adds folders and/or changes the folder contents, I sync her computer with mine.  I open her folders (which are now also on my computer) in "Lr", and "Import" any of her new and duplicate pictures into "Lr".  Surpisingly and thankfully, the pictures that have been moved to a new folder by my wife do NOT show up in "Lr" in the previous folder (i.e. I do NOT have to find and delete any "Missing" images which were in the previous folder location).
    Re MULTIPLE USERS OF A DATABASE:
    I do not need to use this now, but I read that "Lr" is designed to work with the "Lr" database (and pictures) on an external HDD.
    Thank all of you again for your very helpful replies.

  • How can I manage multiple iPads for different students?

    Problem: I need to manage multiple iPads for my students with special needs. I need to download different apps to different iPads and I'm not sure how to keep their apps separate but still keep ultimate control of the units (i.e. lock them from loading anything on the apps that we at the school district haven't approved).
    I need to be the only one doing updates, loading software, etc., and don't want to keep using my own personal iTunes account...any suggestions?

    If the presenter is using a computer and everyone else has an iPad this is very easy and free. Just use http://join.me and on the iPad just download their free app

  • How can i keep multiple tabs in the tab strip without them compressing into one tab?

    when i open more than 6 windows , they all compress into one tab from where i have to access pages with a drop down menu. i want all the tabs to open up and the individual tabs to appear separately on the tab strip which can be scrolled up or down. thank you

    hi
    the problem is in the firefox tab strip at the bottom of the page. i have attached two screenshots . when i open more than 6 tabs, they all get compressed into 1 tab. i want all tabs to stay open individually, and the tab strip should therefore have a page scroller icon forming when many tabs open. i have had this in the earlier computer i had, but recently got a new one. now i cant figure how to set firefox to do what i need.
    thanks

  • How Can I Use Multiple Weblogic Instances in a Single OS

    Hello Everyone,
    Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle  Enterprise Linux 5.
    Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
    I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
    The main problem here is :
    In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
    What might be the issue?
    I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
    Can anyone suggest a resolution for this please ?
    Thanks in advance.

    Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • How do you manage multiple emails in ios8?

    How do you manage multiple emails from one sender in ios8? In iOS 7 you used to be able to search the sender and then edit, select and move.. I can't seem to find this feature anymore.

    After you have done the search, you can swipe downward slightly on the keyboard and it will disappear and you will see "EDIT" in the bottom right corner. You can tap on that, select whatever emails you want and then you are given the choice to "Mark, Move, Trash, Cancel". It will even verify the number of mails you have selected.

  • How can i execute multiple database operations using multiple objects

    i have data in files which i need to read/parse and insert/update the database. can someone tell me how can i read multiple statements at a time and process using multiple objects.

    This doesn't seem like too much of a JDBC question or at least the answer as I see it isn't unique or specific to JDBC.
    If you want to run multiple processes within your single program then you need to use Java threads. I would recommend you read up on how to properly code Java threads and if you have questions unique to your multi-threaded JDBC implementation come back and ask those questions.
    You may also want tot take advantage of a transaction manager that includes a database connection pool that will handle most of the complexity for you. Depending on the flexibility of your architecture you may not have to do any thread coding at all when using a transaction manager.

  • How can I manage 'recent destinations' in Tomtom o...

    Hi all,
    I have a Nokia N73 with Tomtom installed. I use it all the time and have a long list of destinations to which I have navigated. Many of these were one-off trips and will not be needed again. How can I delete the ones I don't want?
    Thanks

    1. At what level we can convert OTL hours to Day ???OTL stores data whatever you enter. It will store hours in the table so as per your rules you can write custom formula/ plsql code to convert hours to day whenever you want
    2. how can we manage OTL Leave/Absence bcoz they are in Hours in OTL and days in HRMS????In HRMS also you can store leaves in hours. If you still want to store the leaves in days in HRMS then in OTL you can apply rules that employees should enter leaves only in the multiples of 8 e.g. 8 hours (or whatever work schedule hours person has). Then while putting leaves in HRMS you can add those leaves as days.

  • ***How can i manage Leave deduction in OTL???

    AoA
    How can i manage Leave deduction in OTL???
    Thanx

    1. At what level we can convert OTL hours to Day ???OTL stores data whatever you enter. It will store hours in the table so as per your rules you can write custom formula/ plsql code to convert hours to day whenever you want
    2. how can we manage OTL Leave/Absence bcoz they are in Hours in OTL and days in HRMS????In HRMS also you can store leaves in hours. If you still want to store the leaves in days in HRMS then in OTL you can apply rules that employees should enter leaves only in the multiples of 8 e.g. 8 hours (or whatever work schedule hours person has). Then while putting leaves in HRMS you can add those leaves as days.

  • How Can I Manage Topic Statuses and Workflow (RoboHelp 8)

    I'm the sole RoboHelp author in a company with a project lifecycle that didn't require me to work concurrent Help updates. I had time to finish an update and publish before starting work on another. Now I have multiple projects hitting my desk that need to publish on differing schedules.
    My question is, how can I more effectively manage my workflow? For example, I currently need to publish a Help update for Project 1 that only impacts two topics; however, I have updates for three existing topics in review for Project 2 that doesn't rollout for three more weeks. If I generate an update for Project 1 now, my Project 2 topics that I don't want to publish yet will be included in the compiled file. How can I manage this situation?
    It looks like I can set a topic status. Currently, all my topics use the default "In Progress" status. Should I set all my topics to "Complete" and reserve "In Progress" and "Ready for Review" for those that I'm working on for my various projects? Would it enable me to publish completed topics for Project 1 and default to the original content for the three Project 2 topics I status as "In Progress" or "Ready for Review?" As I noted, I don't want Project 2 updates to compile with Project 1, but do want their original content to be included in the file until such time as I'm ready to release the updates.
    Thanks

    I'm not clear how source control will help here. I believe the problem is about working on topics that are not to be included in an output. This is achieved by using conditional build tags. Apply a tag of say WIP to topics and content that is not ready to be generated. When the help is generated, apply a build expression of Not WIP.
    Source control would only be necessary if there is more than one person working on the project.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the office) to work on my machine. Even when I login as "the office", my personal library is still showing. Additionally, when I try to setup with a first-time use in iTunes, I get an error that I don't meet the minimum age requirement - no matter what birthdate I enter!

    The library exists regardless of which user is logged in.
    The only way around that is to create different user accounts on the computer.
    There is no way to have 20 unique iTunes users access a shared iTunes under a single login on the computer.

Maybe you are looking for

  • Firewall in a zone to manage interface in another one

    Hi, I would like to allow remote access to a zone in a system using a network interface (say hme0). On the other hand I want to place a firewall on the same interface, so that once in, users cannot connect to other IP addresses on the private network

  • Seeking advice regarding Time Dimension - Correction and Customization

    Dear all: Situation 1. We have a measure called HTD, Half Year to Date, which aggregates 6 months worth of data. However, I just realized that the previous consultants set HTD at LEVEL = "Week". It works fine but I feel that this naming convention is

  • Do you have to buy License to use Adobe Interactive Forms in WebAS

    Hello, Im testing at the moment the NetWeaver Java Trial with Web Dynpro (Java) and Adobe Interactive Forms. You have to download Credentials and install it to use interactive forms in the Trial version. These are valid for 2 month. I would like to k

  • HP Photosmart c309g-m carriage does not move to centre when lid lifted

    Hi, I'm trying to change the cartridges on my HP Photosmart c309g-m. However, when I lift the lid, the carriage does not centre; it just stays on the right hand side, beneath the plastic cover, making it impossible to change the cartridges. The print

  • Teststand message box larger font for 95 years old

    Hi I am working with people > 90 yrs. the message pop up window occupied on top of the screen. How can I help them by changing the font and/or color of the message pop up. the real estate of the screen is there. message pop up dominates the screen, n