Menu

repainting connections

jp01
2007-02-25
2013-04-17
  • jp01

    jp01 - 2007-02-25

    Hello,

    I am trying to use this tool to create a flow chart where the vertical and horizontal dimensions of each block must be the same in each row of blocks (even as the font size changes in order to prevent overlapping blocks). 

    I have this working where I force the height and width to match and I'm placing them where I want them to be but the connections are not following properly.  How can I force a repaint of all connections after I do my size adjustments and block placement?

    I'm doing a block move() which calls onMove() which is supposed to notify the listeners but I fear this is not happening in the proper order for my purposes and I'll need to force it somehow.

    Thanks,
    jack

     
    • luca zenti

      luca zenti - 2007-02-26

      Can you please send me a piece of code that reproduces this bug?

       
    • jp01

      jp01 - 2007-02-27

      Thanks, that solved it; trying to get just a bit of code to reproduce the problem showed me my error.  :)

       
    • luca zenti

      luca zenti - 2007-02-27

      Ah! If all bugs were so easy to solve... :-)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.