Problem in Updating of  Drawings between rectangles when rectangles merges

I am trying to segment a text and then displaying the segment information inside seperate rectangles.and then mark the relation between segments by arcs.and labelling them.
If I delete 2 segments corresponding relation marked between rectangles should go and the text inside rectangles should merge... and the rest of drawings of other rectangles should also change respectively..
For drawing the relationship between rectangles im storing the points of rectangles inside vector and then making use of it for drawing the components.These are the contents stored in XML needed for drawing the arc between rectangles.
<vectDrawArc__reverse>
&#8722;     <Rstmain.gui.Curve>
&#8722;     <polygon>
<npoints>15</npoints>
&#8722;
     <xpoints>
<int>72</int>
<int>73</int>
<int>77</int>
<int>83</int>
<int>91</int>
<int>101</int>
<int>112</int>
<int>135</int>
<int>158</int>
<int>169</int>
<int>179</int>
<int>187</int>
<int>193</int>
<int>197</int>
<int>199</int>
<int>0</int>
</xpoints>
&#8722;
     <ypoints>
<int>100</int>
<int>94</int>
<int>90</int>
<int>86</int>
<int>83</int>
<int>80</int>
<int>78</int>
<int>77</int>
<int>78</int>
<int>80</int>
<int>83</int>
<int>86</int>
<int>90</int>
<int>94</int>
<int>100</int>
<int>0</int>
</ypoints>
</polygon>
<length>14</length>
&#8722;
     <control0>
<x>72.0</x>
<y>100.0</y>
</control0>
&#8722;
     <control1>
<x>72.0</x>
<y>70.0</y>
</control1>
&#8722;
     <control2>
<x>199.0</x>
<y>70.0</y>
</control2>
&#8722;
     <control3>
<x>199.0</x>
<y>100.0</y>
</control3>
</Rstmain.gui.Curve>My problem is that when i delete the segments text relation will get deleted will get merged inside rectangle..but drawings wont shift according to that..ie if tehre are 4 rectangles and ive arc drawing between 0 and 1 andd then 2 3 ,4rectangles and if i delete 0 and 1 rectangle corresponding relation goes and text in 0 and 1 get combined into one and so ive only 0 1 2 3rectangles and so the darwing have to come between 1 nd 2 insted it takes 2 nd 3..Please suggest me some method for solving this problem.....

its very difficult to make a picture of what you want to make us understand, so if possible give us a brief (picture or layout ) idea of your desired o/p
paste some code if you can but as you said that your code is long so please make it short and replace your xml file for reading values to a data structure having fixed values, so that we can have a look.

Similar Messages

  • TS1702 problem with updated find my iPhone app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app w

    problem with updated find my iPhone (FMi) app: when I attempt to open the FMi app, it tells me that I need to be a registered developer and run iOS7 to do so; is anyone else having this problem?  I got the app as a regular update to my existing FMi app which worked great.

    The problem is being reported in the news media, yes. Apparently someone at Apple jumped the gun and uploaded the update before it was ready. They'll probably issue another update shortly, I would expect, but you can go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. If you have a backup copy of the older version of the app, remove the newer version, restore the old version to iTunes on your computer, and resync.
    Update: Well, that was certainly quick. As of a short time ago, various sites are reporting that the Find My iPhone app is no longer displaying the previous error message. If it still is for you, delete it from your iPhone and re-download from the iTunes Store.
    Regards.

  • Iphone 5 back camera problem after update to IOS 8. Focus doesn't work on back camera!

    My device is Iphone 5 64gb IOS 8.
    I have problem after update to IOS 8. When i run camera.. I hear some scratch inside my phone. And focus of back camera doesn't work.
    1. How can i fix it?
    2. Or how to rollback to IOS 7+ ?
    3. Should i come to app store with this problem?

    I'm having this same problem too.  Worked fine prior to iOS update.  I contacted Verizon this morning who advised that this is a known issue.  They suggested I backup my device, and perform a factory data reset.  When prompted to update to iOS 8 again, re-installation has been known to resolve the issue.  With all the problems with iOS 8, camera, and overall device slowing, I might just wait for a follow on SW turn.

  • I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    I have an iPhone 4S and never had a problem with syncing it. But suddenly, when I connected my phone to my mac, it says that its in recovery mode, and I need to restore it in order to sync. I've updated both my phone and my itunes, and it didnt work.Help?

    fighter19lisa wrote:
    that only makes it say its synced, when its not.
    No, it does not.  It transfers purchases from the iDevice to the computer.  The computer must be authorized for the Apple ID that the content was acquired with.
    fighter19lisa wrote:
    my playlists wont show up on the phone.
    Are they selected to sync?  Is Manually Manage content on the device selected?
    fighter19lisa wrote:
    i had to change my password for my aol account again and i still cannot get my email on my phone to even work
    What does that have to do with syncing content to the device?  FYI, nothing.

  • Unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    unable to update itunes. help. error message when trying to update to latest version of itunes. "the installer has encountered an unexpected error installing this package. this may indicate a problem with this package. error code 2721"

    Hello chae84swangin,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Hello, I have this problem on updating applications on my iPhone 4s 5.1.1 i dont know if you can help me with. when ever i want to update an application on apple store i get a different user name then mine(slamdance@cracked.by) this user name is not mine

    Hello,
    I have this problem on updating applications on my iPhone 4s 5.1.1 (jail broken) i dont know if you can help me with.
    when ever i want to update an application on apple store i get a different user name then mine([email protected]) this user name is not mine but its always there only on updating my app's.
    thanking you in advance for your kind help.

    Under the Terms of Use of this forum it is prohibited to discuss jail breaking. By jail breaking your iPhone you void any warranty you may have and forfeit any support from this forum.

  • HT6058 I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • HT4623 I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I am facing the same issue! I bought 5c few days back
    and everything was fine till I updated the software 7.0.4!
    Whenever am connected to wifi am unable to make a call and if someone tries
    Calling me they get the message that my number is not
    Reachable! When I go back to 3G the calls work perfectly!!
    Please help me out since I use wifi more than my network.
    Appreciate any advise on this

  • Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Microsoft Office 2011 no longer opens because "there is a problem" after updating mountain lion when the app store said there was an update available this morning. Reinstalling did not work. What's the problem?

    Has your problem been solved by the updates??
    Have a similar problem. This MacBook opened all MS Office programs in Dec2012 but no longer does in Feb2013. Went to Microsoft/mac/downloads but none of the three updates would run citing a problem "version of software needed to run this update was not found on this volume".
    MacBook: 7.1, Intel Core 2 Duo, 2.4 GHz
    Microsoft Office 2011:  version 14.2.3
    Mountain Lion: 10.8.2 (12C60)

  • Having problem with updating to 10.6.6 , my software now is 10.5.8, when the my mac is tellin me that i have already update to the lastest software when i haven`t :/ help !

    having problem with updating to 10.6.6 , my software now is 10.5.8, when the my mac is tellin me that i have already update to the lastest software when i haven`t :/ help !

    You need to find a store selling it and purchase it. If you buy it from an online store, it comes in the form of a DVD shipped to you.
    Unless Apple or someone with a site license applicable to you says otherwise, you can't download it.
    (60044)

  • I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    I'm having problems with 7.1 update my flash "flashes" now when I receive txt's and notifications! And I'm also having problems with freezing and wifi problems! How do I solve this?

    Doh! Rectified flash!
    But when face timing 2 seconds after it connects wifi disconnects? Any thoughts

  • HT201210 I have 4s facing hang problem after updating when i dicline the call the keypad geting locked ,touch stop working unable to unlock the phone .then what i can do i restart the phone with pressing home key & power key together then i am able to ace

    I have 4s with 16GB storage capacity using IOS 7.1.2.
    Facing hang problem after updating when i decline the call the keypad getting locked ,touch stop working unable to unlock the phone .
    Then what i can do i restart the phone with pressing home key & power key together then i am able to access it.
    Kindly resolve the issue as soon as possible
    Ashish
    [email protected]

    Did you already try to set it up as a new device, as explained in this article?
    iOS: How to back up your data and set up your device as a new device

  • Dear i have a problem with the fingerprint after updating to ios 7.1 when plugged in electricity works like a charm

    dear sirs.
    i am an apple customer since first iphone but right now i am having problems with fingerprint sensor after updating to ios 7.1.
    when plugged to electricity it works but when unplugged sometimes work.
    please solve this issue by a quick update and thanks.

    I have been on the phone twice today with my carrier. They reset it the first time, it worked for an hour then messed up again. They reset it a SECOND time.. It worked for 6 hours, then messed up again. I don't know if this is a software issue or what but if ANYONE has any insight, I would appreciate it greatly.

  • My thorough list of problems after updating to iTunes 7

    I've been reading the topics around. Some of these problems below seem to be sort of common, with slight differences in my case. Some others I couldn't figure out whether anyone else has experienced them.
    First of all, unlike in a lot of the topics that I've read around, I didn't have any problems installing iTunes 7 (although the problems started right after I turned it on for the first time...). Nor did I have any problems updating the software on my iPod to version 1.2, which I have to say, unlike iTunes 7, seems to be very nice, particularly on the new detail of searching the long lists of songs/artists/albums alphabetically.
    1) The least serious of the bugs on iTunes already used to happen to me with the previous version 6. Occasionaly, when I plug in my iPod to the computer, iTunes doesn't recognize it properly. Instead of the 5th generation video, it shows up on iTunes as a previous generation iPod without video. What happens then is that iTunes screws up the whole artwork settings on the iPod. It starts off by switching off the artwork visualization option on my iPod, the next time it correctly recognizes it as the 60 G video model. And when I turn the option back on, as it should always have stayed, iTunes proceeds to reorganize the whole artwork list on the iPod, by first deleting it completely and then optimizing it. When one has the iPod with more than 20 G full of albums (let alone when it's 60 G are completely full...), this is something that already takes a lot of time and becomes irritating, taking into account that it happens sort of randomly: you plug in the iPod and pray that iTunes recognizes it properly. It used to happen to me quite frequently with iTunes 6, and I thought it would be fixed with the new version 7. But it hasn't: yesterday it already happened to me again, once, after I plugged/unplugged it some 10-15 times. The frequency of the ocurrence of the problem, at least, seems to have decreased, when compared to iTunes 6.
    2) As opposed to the previous problem, the most serious happend to me right after I started iTunes 7 for the very first time, with the iPod plugged in. Like it has already been reported by several particpants in this forum, it started doing the infamous gapless analysis on my BIG iPod song library and it froze after a while, finally crashing with the usual message "Do you want to send a report to Microsoft". Up to this point, this seems to be common with a lot of users of the new version 7. With me, it went farther. I was the one that froze right afterwards: when I started iTunes again, I realized that in the process of freezing/crashing/restarting iTunes had switched off my manual update option on the iPod, instantaneously erasing about 5000 songs that I had loaded in it. The problem is that I didn't have enough space on my computer hard-disk to hold those 25 G of music, so I only kept them on the iPod whereas my iTunes music library was essentially empty. And there I am now, importing every single one of my CDs back into iTunes and to the iPod, something that will take me another couple of weeks at least.
    3) Taking into account the previous point, I am essentially using iTunes 7 now from the start with an empty library, importing every CD back from scratch, as if this was my first encounter with iTunes and iPod. I cannot see then what it could have done to an already existing music library on the computer (other than completely erasing the one that I had on the iPod), like some damage that also I read happened to some people. With the CDs being imported all over again with iTunes 7, it no longer does any gapless analysis of anything, because there are no songs imported with previous iTunes versions to be analyzed. The sound is also fine: I don't get any of the static or garbled noises that I read were also troubling a lot of people.
    4) As for the crossfading/gapless discussion, after experimenting with those (now infamous) two options for a while, I got to the conclusion that there's really no point at all in having them, even when they work well... let alone the serious problems that their introduction on iTunes 7 has been causing. By turning the crossfading option on, I can see that iTunes merges the end of one song with the beginning of the following one, with time lengths depending on the slider position chosen by the user in the corresponding option's window. But it's something that I personally dislike a lot, to have both songs sort of being played on top of each other, during their transition. So I switched it off. On the other hand, the gapless playback seemed to be a nice welcome. It is true that, until this version 7 came up, on certain albums, like in the classical "Sgt. Pepper's Lonley Hearts Club Band" (that supposedly first started that concept) or a lot of the Pink Floyd ones, where the songs are almost continuous without any pauses between them, both iTunes and the iPod used to force an inconvenient pause between the songs. I then imagined that this gapless option would at least improve on that. But what I've figured out by now, after using iTunes 7 for three days, is that if the original albums don't have any pauses between songs, iTunes 7 now imports those albums exactly as they are, without any pauses either, even if both the crossfading and the gapless option are switched off. In other words, after importing my "Sgt. Pepper's" and "Dark Side of the Moon" CDs again with iTunes 7, I no longer get forced pauses between the songs like I used to get before, either on iTunes, or in the iPod. This, even though I make sure that those two options are switched off. The gapless playback seems then to be sort of automatic now on iTunes 7, as it should, if that's the way the original imported album is also recorded. And this troublesome gapless option seems then to be a completely useless thing, unless the idea is to fix songs imported with previous iTunes versions, or to force gapless playing on albums that originally have pauses.
    5) As many people have noted already, the "Drag and drop" album artwork window only works for single songs. If one wants to cut and paste the artwork into that window for several selected songs or a whole album at once, like it could be done on iTunes 6, that's not working now. One has to select all the songs and then, with the right mouse button, choose the info window to paste the artwork into the small box there.
    6) Finally, when the iPod is plugged to the computer, some viewing configurations on iTunes are not being memorized either. For example, I always turn the browser option on (Ctrl+B), so that I can see the artists and albums lists, on top of the complete song list. But everytime I plug the iPod back on, that option is switched off. For the main iTunes music library it's OK: I've only needed to do it once, and now that viweing configuration has been there forever, everytime I start iTunes. But whenever I plug the iPod and click on its music library, I then need to press Ctrl+B every time, because iTunes doesn't seem to keep that viewing option switched on from the previous time the iPod was plugged. Again, this is something that worked fine with iTunes 6.
    Conclusion: there are indeed a lot of bugs to be fixed with this new version of iTunes, some of them highly damaging to the saved libraries. IF YOU STILL HAVEN'T UPDATED TO VERSION 7, DON'T DO IT YET. WAIT A FEW WEEKS UNTIL APPLE FIXES ALL THIS.
      Windows XP Pro   Pentium 4, 2.4 GHz, iPod Video 60 G

    Upgrading to itunes 7.0 just cost me 2 days of messing around and in the end I had to revert back to v6.0 and resore my lib.
    Apple CS was good but did not belly up the fact that 7.0 is defective in some cases and in the end told me I had a hardware problem!
    The main issue is that I could not get itunes 7.0 to see my ipod (very infrequently after a hard boot I would see it but would not be able to upload anything). Worked(s) 100% with v 6.0.
    This is very defintey 1/2 baked following in the steps of the other well known producers of sw that is not always functional/buggy the first time around.
    My computer is a x40 IBM laptop with xp sp2. Will have to wait a few more weeks to see how this pans out.
    IBM X40 Windows XP

  • Problem in Update Statement

    I got some problem in update statement.Can anybody discuss with me regarding my problem? Below is the occured problem.
    //all the declaration like Connection, ResultSet are declared, setting the ODBC path and so on steps have been set up before this method. When compile it, no error, when I start to run my program, the program�s interface is shown, but the following error was appearred and data cannot be updated, can anybody tell me where is my mistake?
    //ERROR:SQL Error in update statement:java.sql.SQLException [Microsoft][ODBC][ODBC Microsoft Access Driver] Syntax Error in UPDATE statement.
    //emp_overview is the table name
    // last_name, first_name, office_phone�.is the attributes of the table
    //this method had declare in the interface class already
    public String updateData (String idd, String ln, String fn, String op,
                   String oe, String hp, String ps, String ss)
                   throws java.rmi.RemoteException
         {//begin of this method
              String result ="";
              try
              Statement statement = connection.createStatement();
              String sql = "UPDATE emp_overview SET" +
              "last_name=' "+ln+
              " ', first_name=' "+fn+
              " ', office_phone=' "+op+
              " ', office_ext=' "+oe+
              " ', home_phone=' "+hp+
              " ', primary_skill=' "+ps+
              " ', secondary_skill=' "+ss+
              " ' WHERE id="+idd;
              statement.executeUpdate(sql);
              statement.close();
              catch (java.sql.SQLException e)
         System.out.println("SQL Error in update statement: "+e);
              //throw a RemoteException with the exception
              //embedded for the client to receive
         throw new java.rmi.RemoteException("Error in Updating exist row into DB", e);
              return result;
         }//end of this method

    Hi Kevin,
    According to the code you have posted, it looks like you are missing a space between "SET" and "last_name". I suggest you add the following line of code:
    System.out.println(sql);
    before the invocation of "executeUpdate()".
    I also suggest you add the following line of code:
    e.printStackTrace();in your "catch" block.
    Hope this helps.
    Good Luck,
    Avi.

Maybe you are looking for

  • Calling a stored procedure with the DI API in 6.5

    Hi, Is it possible to do this? I have the following lines of code...     sSQL = "EXEC sp_AgedDebtForCustomerStatement"     oRecordset.DoQuery sSQL This procedure runs fine in SQL Query Analyzer and the query generator in B1. When I use it in my VB ap

  • Completely DEAD iPhone 3GS, Data Recovery ?HELP?

    I have a iPhone 3GS 16GB, The other day it just went off? tried unplugging it from the mains and plugging it back in again, but nothing happened. I tried to get it to go into DFU mode, Nothing! Plugged it into my Desktop PC, Nothing showed in itunes?

  • Can't download in Firefox browser only, unless computer is in safemode.

    When Firefox is running, the memory usage continues to grow without stopping until windows begin to drag as if I were really taxing my computer and internet, when I'm not. I also cannot download anything through Firefox, unless I reboot my computer t

  • ORA-12514 after I Changed NLS_LANGUAGE and cant get into DB

    Hello all, I just installed Oracle 10g XE on my Windows XP PC. I ran this command: ALTER SYSTEM SET NLS_LANGUAGE = 'AMERICAN_AMERICA.IW8PC1507' SCOPE=SPFILE; and since then I cant connect to my DB, all i'm getting is: ORA-12514: TNS:listener does not

  • Count files in Directory and the number of files in each sub directory

    Hello, I trying write a method which will start at a root of a file and count all the files in that directory. Then count all the files in each sub directory. import java.io.File; import java.io.FilenameFilter; import java.io.IOException; public clas