How can I connect two object pane in javafx?

Hello world... I want to connect two nodes of pane. but using dinamic line... and moreover shutters are dragable. .who api should I use? IM waiting for your help...

Thanks in advance

Use links. Something like

line.startXProperty().bind(pane1.layoutXProperty());
line.startYProperty().bind(pane1.layoutYProperty());
line.endXProperty().bind(pane2.layoutXProperty());
line.endYProperty().bind(pane2.layoutYProperty());

That will keep the line of demarcation between the upper left corner of each box. You can do things like

line.startXProperty().bind(pane1.layoutXProperty().add(pane1.widthProperty().divide(2)));

etc, if you want to draw from the Center.

Tags: Java

Similar Questions

  • How can I connect two router WRT610N wireless via a modem

    My problem is that

    I want to connect a "wrt610n router" to moden directly cable yet and when I conect the two of them everything works fine and ITI gives good internet connection via WLAN

    Modem ip - 192.168.1.1

    first WRT610N router ip - 192.168.1.10

    But, when I tried to plug "second WRT610N router" by "first a router WRT610N" through second lan_cable(cat 5) router no internet connection provide (give)

    second router ip - 192.168.1.5

    so please tell me how can I solve this problem...

    This article may be able to help:

    http://www6.nohold.NET/Cisco2/UKP.aspx?VW=1&docid=785463d9ecaf4cac84aed245b08d615f_3733.XML&PID=80&r...

  • How can I connect two accounts of apple?

    I have two different accounts of Apple. How can I put the two together, so I use the music of both units?

    You can't, but you can allow your iTunes to the other account.

  • How can I connect two screens for MacBook Air?

    I have a macbook air (mid-2012) which, according to apple, can support two external displays.  I have an external display connected to the thunderbolt port, but may not know how to connect to the other?  The mac has only a thunderbolt port?  It has two usb ports.  Is there a thunderbolt display port separator that works with this Apple?  When I look on amazon I see some who make the separation, but they say that they do not work with the Mac?  Any recommendations would be greatly appreciated.  Thank you in advance!

    I accidentally listed the issue as resolved, but it is not.  Thank you for all the advice!

    Hello..

    You need a hub of Thunderbolt.

    Try Amazon.

  • How can I connect two screens for MacBook Air (mid-2012)

    I have a macbook air (mid-2012) which, according to apple, can support two external displays.  I have an external display connected to the thunderbolt port, but may not know how to connect to the other?  The mac has only a thunderbolt port?  It has two usb ports.  Is there a thunderbolt display port separator that works with this Apple?  When I look on amazon I see some who make the separation, but they say that they do not work with the Mac?  Any recommendations would be greatly appreciated.  Thank you in advance!

    You can daisy chain a thunderbolt cable from the first screen to a second screen to support both with port of a sudden lightning. Reported here.

  • My new Sony Vaio PC does not recognize my Sony Handycam DCR-HC19E model. I have no installation CD. How can I connect two devices, please?

    Previously, I had a Fujitsu Amilo PC operating Windows XP Professional. I had no problem with these 2 devices of connection. Now, I bought a Sony Vaio PC

    Windows 7 Home Premium and it can not recognize my webcam. I bought a cable iLink (hama), but without success.

    What can I do, please?

    Hello

    Method 1.

    Connect the device, run the hardware and devices Troubleshooter and check if that helps.

    To open the Troubleshoot utility equipment follow the given link:

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    You can also check the updates available for your computer.

    Method 2.

    Install a USB device: http://Windows.Microsoft.com/en-us/Windows7/install-a-USB-device

    Refer.

    You need to contact Sony support to get the disc because it contains software of camcorder. You should also check the camcorder manual as it contains instructions to enable the USB setting in the camera for it to get detected in Windows 7 computer.

    The KB article for the Sony camcorder is:

    http://www.KB.Sony.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=C499324&sliceId=1&docTypeID=DT_KNOWLEDGEARTICLES_1_1&dialogID=553948590&StateID=1%200%20553950910

    Hope this information is useful.

  • How can I connect another monitor to compaq SG3 because there is only 1 VGA port and no HDMI.

    How can I connect another monitor to compaq SG3 series because there is only 1 VGA port at the back and there is no HDMI port.  The operating system is Windows 7. I think to buy vga splitter, I don't know if that will allow me to move images/data between the monitors. Please tell us what to do. Thank you

    It is based on the expected results.  A VGA splitter will give you two monitors but they will display the same image.  If the expected result is two different pictures, maybe something like this will do;

    http://www.Amazon.com/IOGEAR-external-video-card-GUC2015V/DP/B000NJFJJK

    or

    http://www.Amazon.com/STARTech-com-external-video-monitor-adapter/DP/B005G306I2/ref=pd_cp_e_0

    Some will also do DVI: http://www.amazon.com/Plugable-Multiple-2048x1152-1920x1200-DisplayLink/dp/B0038P1TP4/ref=sr_1_1?s=electronics & ie = UTF8 & qid = 1345919878 & sr = 1-1 & keywords = usb + to + DVI

  • Pavilion s5710f: How can I connect my model s5710f from desktop to my Wi - Fi?

    How can I connect to my Wi - Fi?  The only internet option to choose in the installer is broadband.  Thank you.

    Hello:

    Here is the link to the page of product for your PC specifications.

    http://h22207.www2.HP.com/us-en/document/c02627981

    It does not come with wireless networking capabilities, or this feature should have been included as well as the 10 Base T wired network specification.

    The best thing to do to give your PC wireless networking capabilities would be to install an external usb wireless network adapter.

    It's the one I use on two of my HP desktop PC.  It works with several OSes including Windows 10.

    http://www.Amazon.com/Linksys-dual-band-Wireless-N-adapter-AE3000/DP/B007ZLGXA8

    I guess that you have a connection broadband (cable or DSL) and a wireless router.

  • Have changed my router but Airport Express no longer works.  How can I connect it?

    Have changed my router but Airport Express linking is no longer.  How can I connect it to the new router?

    The Express has been programmed to keep in memory the settings needed to connect to your 'old' router... What is more there... so the Express is lost and knows not how to find his way.

    The solution is to reset the AirPort Express Terminal at its new, out of box factory settings, so it can be mounted again do not forget to connect to your new router.

    To do this...

    Turning off the AirPort Express for a minute or two

    Hold the reset button the first Express... and keep holding it while you simultaneously reconnecting the power cord the AirPort Express

    After that the amber light was clignoter blink quickly for 5 to 6 seconds, release the reset button

    Allow a minute for the Express start slow, flashing amber light status

    Now, the Express is back in its new factory settings, then you a game it upwards again to connect to your new router... just like you put in place to connect with your old router.

  • How can I connect my computer laptop compac evo n1020 ATI Radeon IGP 340 m of my LCD

    Original title: Hello,.

    How can I connect my computer laptop compac evo n1020 ATI Radeon IGP 340 m of my LCD? do I need special drivers?

    Hello

    See the following articles for more information:

    Setting up dual monitor: two screens are better than one

    How to configure and use multiple monitors in Windows XP

  • How can I connect at least 2 monitors to dv6 A1U59AV?

    I need to extend the desktop to display and work on a minimum of two documents, ideally 4 at the same time.   How can I connect at least two monitors or more for the dv6?  It has a HDMI and a VGA port.

    Thank you.

    Rhank you Ms. Trenter.

  • How can there be two accounts in the same user name

    How can I have two usernames even, that of the Australia and the other in the United States?

    Hello

    Thanks for posting your query in Microsoft Community.

    a. are both connected anyway through the network (for example in a server domain common network, VPN etc.)?

    b. What is a local user account or an Microsoft account?

    Unless the systems in the two countries are connected via a common domain, they are independent and can have accounts of local users with common names. If you talk about Microsoft accounts, then they can be configured two different computers, but the information that is on the server online sync is common to both systems.

    Additional information:

    User accounts: FAQ

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • How can I Cancel two step for my email account security code?

    How can I Cancel two step for my email account security code?

    Now, to see if you can always reactivate this account, the only thing you can do is:

    • Go to Hotmail and try to connect with it.

    • If you can, then you have this back.

    That's how Hotmail determines if or not someone really changes their minds when they disabled or abandoned an account. All you really need to do is log in there, using the web interface, and if she comes back, fantastic.

    If the connection fails

    If you cannot (in other words, if the connection fails), this means that one of two things:

    • One, the account itself is really deleted - and there is no e-mail address of the same name

    • Or it means that the e-mail address was finally released, so that it can be reused by other people and someone else took.

    Now, the only way to determine whether or not this is the case is here:

    • Try and create a new Hotmail account with the old email address. If it works, you're back in business.

    • If it fails, I don't know how to get this email address.

    As I said, it could very well have been reassigned to someone new who came and chose as their new email address on Hotmail.

    ----

    However, you can try to talk to Microsoft about this page: support.microsoft.com/contactus

    Choose the 'Chat now for general information", enter your name and choose the option"Hotmail"for the reason.

  • How can I connect gmail and hotmail, mail for Windows 8?

    I just got a new laptop which had Windows 8 above.  I want that all my email accounts to be dumped in the "Mail" box on my Office Windows 8.  How can I connect all?  I have gmail and two different hotmail accounts.

    Hi Carol,.

    You can easily add new email accounts in Mail by going to 'Settings'-> 'Accounts', while in the Mail application. You can get to the settings to either swipe to the right and by choosing the icon on the bottom of the settings of charms (looks like a gear) or by typing the Windows key and 'i' at the same time.

    Once you have opened the 'Accounts', choose the option at the bottom to add accounts.

    Thank you

    Brian

  • How can I multiply two matrices together in number?

    How can I multiply two matrices together in number?

    Well, there is a function in numbers call sumproduct() that can help you.  Post a screenshot of what you will help us to better help you.

    real matrix operations are not supported in number.

Maybe you are looking for

  • Cannot change the Google search bar

    In Safari, I go to Google.com and do a google search. So far so good. Now, on the search results page, I try to edit the search in the Google search bar and nothing happens - the Google search bar is totally insensitive. To do another search, I use t

  • Limit on the expansion of network?

    I have 3 AirPort Extreme base stations, 2 are 5th generation and a 3rd generation. I also have an AirPort Express in the mixture. I have a 3rd generation connected to the FiOS router and I consider that it is the "primary" router Initially, it worked

  • Smartphone blackBerry 8700 c SIM AddressBook in memory of BB

    Hi all I hope someone can help, I am frustrated no end.  I followed the procedure to move my address book to the SIM card to the address book of BB.  The progress bar appears as if the AddressBook has been transferred.  When I highlight the address b

  • Download link for the 64 bit Firewall-1 Authentication Agent 4.1

    I have windows 7 64 bit installed, I need download link for the 64 bit Firewall-1 Authentication Agent (Check software technologies) point. Can you help me with this please. Thanks in advance.

  • I have a ProStar with Windows 7 64 bit

    I am connected to my network wirelessly with another computer... It is that I know that the network is there.  However the Pro star continues to send me a statement that no connection is available. Of more when I try to connect, the block "turn wirel