How to manage graphic lines in two different panes

Hi All,
I am working with one application that have two Jtree Visivle. There tree are visible in left and right side of a frame. Using panels I have put SplitPanes in these . Now my problem is to draw a line from left tree node to a right tree node. Using paint method and getRowBound I use to find the points I am able to draw a line.
My problem is , now these two trees are in different panel so I will be having a different graphics object on these panels. Secondly once I draw a line and when I scroll any tree the lines become static . I want that lines should always remain with those node even when I am scrolling.
Please help me regarding this.
Regards,
Sandeep

http://forum.java.sun.com/thread.jsp?forum=54&thread=274709

Similar Messages

  • How do I calculate days from two different dates?

    Hi all,
    How do I calculate days from two different dates?
    my requirement is to pass the number of days to target field from two dates.
    Current date :  14/04/2010
    Standard date: 01/01/1957 is the standard = day 0
    Is it possible in graphical mapping with out  udf?
    Plz help me on this I have donu2019t have much knowledge on JAVA.
    Thanks

    Hi Yadav,
    Probably this is not the correct forum for XI / PI .
    You can post the same to...
    Process Integration (PI) & SOA Middleware
    Hope this helps.
    Regards
    Raj

  • How do I calculate days from two different dates in XI/PI?

    Hi all,
    How do I calculate days from two different dates in XI/PI?
    my requirement is to pass the number of days to target field from two dates.
    Current date : 14/04/2010
    Standard date: 01/01/1957 is the standard = day 0
    Is it possible in graphical mapping with out udf?
    Plz help me on this I have donu2019t have much knowledge on JAVA.
    Thanks

    Hi Yadav,
    Probably this is not the correct forum for XI / PI .
    You can post the same to...
    Process Integration (PI) & SOA Middleware
    Hope this helps.
    Regards
    Raj

  • How to compare the programs in two different systems

    Hi,
    I have two systems say A & B and i have the program say 'Z_TESTPROG'.
    How to compare the program in two different systems.
    Regards,
    Venkat

    Hi,
    Check the version in Utilities -> version -> version management in both servers is one option.
    Another one is using SE39 transaction.
    Regards
    Manasa

  • How can I send email using two different email address that both link back to my one exchange account on my Ipad mini

    How can I send email using two different email address that both link back to my one exchange account on my Ipad mini? 
    On my PC I simply have a master return email address and use a POP for the secondary address.  Both are through the one exchange account without a problem.  I need to be able to do the same on my Ipad.

    Ah, I should have made that clear.  My domain didn't come from google.  It was purchased at and is hosted at dreamhost, but I haven't used their email servers in years - I just route everything through gmail.  I actually have a bunch of domains (with websites).
    Gmail has an option that lets someone with custom domains send (and receive) email through gmail using the custom domain once Google confirms proper ownership of the domain (to prevent spammers and such).  Gmail has a setting for "send email as" which allows gmail to be sent using a custom domain as the sender.  I'm pretty sure Apple's old mobileme had this feature too, but I didn't use it.

  • How can I transfer songs from two different itunes?

    I want to transfer songs from my brother's itunes library to my shuffle, but when I plug it in his computer, a message saying that his library is not linked to my library (or something to that extent) and whether I would like to replace the songs. If I click yes, all my existing songs are replaced with HIS songs. If I click on NO, the Shuffle icon does not appear at all and I cannot transfer any of his songs to my shuffle. How can I transfer songs from two different computers into my shuffle without replacing any of my existing music?
    Shuffle   Windows XP  
      Windows XP  

    You'll have to setup your iPod to manual instead of automatic update (I'm not sure, though, if it works with the Shuffle as well).
    Alexander.

  • HT4061 How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases?

    How do I consolidate purchases from two different ids that are on the same bank account, and eliminate the extra id without losing any purchases? I want my music to match on both ipad and computer.

    Purchases are forever tied to the AppleID they were bought with. There is currently no way to consolidate AppleIDs. Sorry.

  • How can I use music from two different iTunes accounts?

    how can I use music from two different iTunes accounts?

    If you mean iTunes Store accounts, there's really nothing for you to do. Just add the tracks to the iTunes library and play them. Music purchased prior to late-2009 will been to be authorized, though. Pull down Store > Authorize... and type the credentials of the Apple ID used to buy the tracks.
    If you mean something else, please describe in more detail.

  • How to compare the contents of two different tables

    hello. can somebody give me an idean on how to compare the contents of two different tables in mysql?
    example, i have a table named Main List and a table named New List.
    The contents of the New List should be compared to the contents of the
    Main List, to check if they are equal. I don't have any idea how to manipulate
    this data. Hoping for your help. Thanks.

    it is better to comapre it using java.. try get the resultset first and store that in collections then comapre the two collections

  • How to manage one library with two accounts

    how to manage one library with two accounts

    you can only be logged into one account at a time on the iTunes store. However, you can authorize your computer for both accounts, making your computer work with both. In the menu bar just click [Store > Authorize Computer]

  • How can i use eyedropper between two different art board.

    Hi
    How can i apply the same color for the images in two different art boards with eyedropper.
    I am trying to apply the same color from the image in one art board to another image in another art board.
    Can any one help me please. Thanks
    Steve
    I am using Mac

    apresslink,
    Presuming you are unable to use the Eyedropper Tool normally, in other words keep the target object selected while you pick up the colour, by having the Artboards open in adjacent windows to ClickDrag between (I am still with 10 which may explain at least part of my ignorance for which I apologize):
    Until someone presents a smarter solution, you may cheat and create a carrier object beside the  source object, drop the colour in that, cut and paste it to be beside the target object, and drop the colour there. With multiple colours to drop multiple times, you may create a palette to hold them, to use just like a painter working on several canvases at the same time. Or you could paste diminshed copies of the source objects.

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • How to transfer app data between two different game center accounts?

    Hello, I really need some help.
    I have looked all over the web for ways to transfer apps between two different game center accounts and different devices. Several weeks ago I started playing Campus Life on my relative's Ipad 2, therefore spending many long hours to get to this point in the game.
    The problem is I just got an Iphone 5 and I really would like to transfer the data onto it, so that I would not need to start all over again.
    My grandma has an account (Game Center) onto which the data has been saved and I would like to have it stored onto mine. On some forum someone said to sign into the account which has the data on both devices and to then open up the game on the new device. It worked. Then I signed out and logged in with my own account- the game started from scratch. I panicked. I went back on the other account, and the data reappeared. I have been going back and forth, the game changing as many times. I thought it would ask to back up my grandma's data on mine but I was wrong. I can not seem to save the game onto my new account, and I have even tried to back it up to Itunes and then copy it onto my phone after having signed into my own account. And I don't know how to properly use Icloud. I am a mess. I am completely lost and have found no help on the web. (All people seem to have to deal with is sharing Apple IDs with different Game Center Accounts for the kids and transferring apps from one of their devices to another.)
    I am so worried I am going to mess up and will lose the whole thing completely.
    I have just started another game with my own account but since I am using my grandma's, the data is erased. It's one or the other but I definitely prefer saving Campus Life. I do not like the idea of having to only pick one.
    I do not know any technical terms, so if you understand or even have the slightest clue about what I am talking about, I applaud you.
    This seems like mission impossible, so if anyone can help in any way, I would be really grateful. 
    Thanks in advance for your time and thoughts!

    I meant to press on "This solved my question"... Sorry if you needed the points.
    Thank-you and I will just go back and forth between the accounts.

  • How to publish from iWeb to two different .mac accounts

    my household has two separate .macs account and we want to publish from iWeb to the two different accounts which I cannot figure out. thanks

    I discovered I could duplicate Domain.sites2 (~/Library/Application Support/iWeb/Domain.sites2). I named one "Domain de.sites2", and the other "Domain daru.sites2". Then I opened daru's site and deleted de's, then I opened de's and deleted daru's, and I have two separate sites (with aliases in the dock) that I presume I'll be able to upload separately. Once I get .Mac sub groups created...
    If it works, it saves the hassle of creating other user accounts, since only my wife and I use the computer. Right now, .Mac is telling me I can't create a sub account in my wife's name because she already has a .Mac ID (and a two month free trial account she had to agree to, to join the group) for a group site I manage. I don't think she ought to be required to have a separate identity every time she logs into .Mac.
    Daru

  • How can I charge shipping for two different products each with a different shipping method?

    I'm selling two different products, one is by priority shipping through USPS, the other is just a flat fee of $3.00.  Shipping options appear when either one is the only product in the shopping cart.  If there is one of each product, then no shipping is charged.  Is it possible to have two different products and two different methods of shipping in the shopping cart?
    www.antarcticempire.com  vintage teacups are priority mail   photo prints are $3 flat fee.
    Thank you for any help.

    Thank you for posting.
    There is no out of the box solution to add more than 1 shipping option in the shopping cart. However, there is a work around for this, bit complex but achievable. You need to use multi-lingual site to do so. If you need more info on how to achieve this, please log a ticket and mention this forum post in it.
    Cheers,
    Aishvarya Raj Rastogi

Maybe you are looking for

  • How can I add contacts from my computer to my Icloud?

    How can I add contacts from my computer to my Icloud?

  • Reading csv file using file adapter

    Hi, I am working on SOA 11g. I am reading a csv file using a file adapter. Below are the file contents, and the xsd which gets generated by the Jdev. .csv file: empid,empname,empsal 100,Ram,20000 101,Shyam,25000 xsd generated by the Jdev: <?xml versi

  • JMSException in createConnection

    Hi when i started my test server in websphere 5.1 to test JMS with MDB , i got the following error *** Starting the server *** ************ Start Display Current Environment ************ WebSphere Platform 5.1 [BASE 5.1.0 b0344.02] running with proce

  • HT4993 how to fix the rotation of fotos and video after the last update?

    I have an iphone 4 which after the last update, 7.0.4 it has not been able to rotate videos or fotos to the landscape style. any suggestions on how to solve this issue.

  • CFObject  and java Class

    Hi, I am trying to call a java class using cfobject tag. I placed my all classes under D:\cfm\ecpay\classes folder . And add this path to jvm.config file. I am getting class Not Found Exception while running my page. Here is the code of cfobject <cfo