Using both ends of a stylus

Hi all!
I am using a touchscreen and a stylus, and I want to capture the events generated by the stylus. Obviously, MouseListener and all the other MouseXXX classes allow to capture these events. However, the stylus has two ends, one is intended to draw, the other is intended to erase. Windows has no problems in distinguishing between both ends, but the MouseListener generates the same events no matter which end the screen touches.
Is there a way to distinguish between the two ends in Java? Is it possible with a MouseListener, or do I have to use another class/API? I am using WinXP and J2SE 1.5
Thanks.

Robert Kleindienst1 wrote:
I have two objects moving in a video and want to attach a line shape between them....
Have a look:
two circles, a 'dot' applied to each, the dots are moved by a behavior to rotate....
The line connecting them. is a bezier
no Motion Tracking needed
Just dragging the dot into the TrackPoint's dwell
And:
Select which points are tracked - see the red arrows:

Similar Messages

  • Does Revel have a backup retention for deleted files in the cloud and what is the encryption level it uses both end-to-end and locally?

    I'm interested in the premium version of this service however I'd like to know if:
    1. Revel has any kind of cloud backup feature for accidentally deleted files.
    2. What encryption strength does it use for it's end-to-end transfers and also for the local app and cloud storage
    3. Does it have 2 stage authentication?
    I ask because I need something picture friendly but is also HIPAA and SEC compliant.
    thanks!

    Hi nick2048,
    We take security and privacy very seriously and send all communication over encrypted channels.
    However, as a consumer photo site that supports user sharing, it is not our goal to achieve HIPAA certification
    Hope this helps!
    Glenyse

  • My desktop IMac OSX 10.6.8 : IMovie '11: Trying to upload a home movie clip from my Panosonic camera model PV-DV203D. I've had this camera several years, and used it with Windows desktop. Now trying to work with my Mac. I have a USB cable, both ends fit,

    My desktop IMac OSX 10.6.8 : IMovie '11: Trying to upload a home movie clip from my Panosonic camera model PV-DV203D. I've had this camera several years, and used it with Windows desktop. Now trying to work with my Mac. I have a USB cable, both ends fit, but iMovie '11 does not recognize it. Is there a driver fix for this?

    What kind of Mac to you have?  This camera is a tape based DV one that connects best with firewire and I cannot tell if your Mac has firewire.  If your mac *does* have firewire, get a camcorder firewire cable and try again.
    ETA:  Oops, I am pretty sure that all the "desktop iMacs" have firewire, so you should be good to go.  You will probably need a cord that goes from FW800 to your camcorder.

  • DCN Case Study 3: ONS 15454 Linear Topology with DCN Connections at Both Ends Using OSPF

    Hi, I need advise regarding design of Network Connectivity - DCN Case Study 3: ONS 15454 Linear Topology with DCN Connections at Both Ends Using OSPF.
    Am I need area 100 and 200 on Router 1 and Router 2 or I can don't do that?
    Am 

  • Skype dropouts now both ends using Infinity

    My son lives in a hospice in Hereford and we keep in touch daily via skype.
    Over the last few days infinity has been installed at my sons hospice and ever since then I have been having receive dropouts / hangs about every 5 seconds.  Both ends of the conversation are macs using Mac OS X 10.8.5.
    Before this 'upgrade' the connection was slow but quite usable, I just cannot understand why this should be occurring.  Any suggestions?
    Just for info as it is a new connection I do not know what HH is installed (although I would expect HH4, I have a HH4), I assume that the connection is Infinity 1 as I checked performance and it was around 30Mb/s on Wednesday.
    There is an added complication in that there is a wireless connection from the main site to the actual residence by line of sight which was installed and is supported by a 3rd party. 

    Skype has a known problem ATM and it's being worked on. It has nothing to do with BT or your connection.
    Hopefully Microsoft (now own Skype) will have it resolved quickly.

  • I have 12 core with Quatro 4000 and 5770, I want to use dual monitor setup, monitors are NEC with Spectraview-II.  How do I connect?  4000 only has 1 Display Port and 1 DVI.  5770 has 2 of each, if I use both 5770 Display Ports, does the 4000 contribute?

    I just bought a 12 core with Quatro 4000 and 5770, I want to use dual monitor setup, monitors are NEC with Spectraview-II.  How do I connect?  4000 only has 1 Display Port and 1 DVI.  5770 has 2 of each, if I use both 5770 Display Ports, does the 4000 contribute any work at all?  I read where on a PC they would work together, but on a MAC they do not.
    I read that Display Port has higher band width than DVI, NEC monitors for best performance they recommend using DIsplay Port.
    When I was setting this up I looked at a Nvidia Quadro 4000, unfortunately it was for PC, it had 2 Display Ports, in the Mac version they reduce it to one.  I did not think there could be a difference.
    Mainly want to use it for CS6 and LR4.
    How to proceed??? 
    I do not want to use the Quadro 4000 for both, that would not optimize both monitors, one DP and 1 DVI.  Using just the 5770 would work but I do not think the 4000 would be doing anything, and the 5770 has been replaced by the 5870.more bandwidth.
    Any ideas, I am a Mac newbie, have not ever tried a Mac Pro, just bought off ebay and now I have these problems.
    As a last resort I could sell both and get a 5870.  That would work, I'm sure of that, it's just that I wanted the better graphics card.
    Thanks,
    Bill

    The Hatter,
    I am a novice at Mac so I read all I can.  From what I understand the NEC monitors I bought require Display Port for their maximum performance.  The GTX 680 only has DVI outputs.  Difference from what I understand is larger bandwidth with the DP.
    You said I have the 4000 for CUDA.  I am not all that familiar with CUDA and when I do read about it I do not understand it. 
    A concern I have is, that if I connect the 2 high end NEC monitors via the 5770, using it's 2 Display Ports I would have nothing connected to the 4000.  Is the 4000 doing anything with nothing connected?  I read where in a PC system the 2 cards would interact but in a Mac system they do not.
    Bottom line, as I see it, the 4000 will not be useful at all to me, since I want a dual monitor set-up.
    So far the 5870 seems the best choice, higher band width than the 5770, and it has 2 Display Ports to optimize the NEC monitors.
    I'm not sure how fine I am splitting hairs, nor do I know how important those hairs are.  I am just trying to set up a really fast reliable system that will mainly be used for CS6 and LR4.  Those NEC monitors are supposed to be top notch.

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • How to create bdc for fbs1 using both call transaction and session

    Hi Friends,
    i have one problem with tcode FBS1, i need to create a bdc program for both call transaction and session method using subroutine.
    first call transaction needs to execute if there is an error sesion has to execute. if u have code please forward.
    thanks in advance.
    chandramouli pothugunta

    where as in call transaction we can do error handling explictly.those errors  are stored in one file .this file will send to the error log(session method),i.e session log.
    in the above case we use both call transaction n session method at time in one program.sample code is below ,go through it .
    data : begin of itxk01 occurs 0,
    end of itxk01.
    data : bdcdata like itbdcdata occurs 0 with header line.
    data : itbdcmsgcoll like itbdcmsgcoll occurs 0 with header line,
             itxk01 like itxk01-dup occurs 0 with header line.
    call gui-upload.
    loop at itxk01.
    refresh itxk01.
    perform bdc-dynpr0 using 'prg' 'scr'
    perform bdc-dynfld using fnam fval
    call transaction 'xk01' using bdcdata mode 'a' update 's' messages into itbdcmsgcoll.
    if sy-subrc ne 0.
    append itxk01 into  itxk01-dup.
    endif.
    endloop.
    if not itxk01-dup[] is initial.
    refresh itck01.
    call bdc_open_group
    itxk01 = itxk01-dup.
    loop at itxk01.
    refresh itxk01.
    perform bdc-dynpr0 using 'prg' 'scr'
    perform bdc-dynfld using fnam fval
    call bdc-insert.
    endloop.
    call bdc-close-group.
    form bdc-dynpr0 using pr sc
    endform .
    form bdc-field  using fnam faval
    endform.
    this will help u.
    reward points for me
    kiran

  • Using both Dynamic and Static NAT with two Different Internet facing Subnets

    We have two Class C Public Address subnets.  We started with Subnet (A) and have many of our Internet accessible devices on it. It is running on a Cisco PIX 515R. We bought a new ASA 5510 8.3(2) and started Migrating the Users and new servers to it so I started with our second Class C Subnet (B).   Later on down the road I found out that if the Firewalls Default Gateway is is set to a (B) Interface subnet, then the servers that are statically mapped to a (A) Address will have a (B) address when they communicate out to the internet.  So they are receiving packets on their (A) Address, though replying to them with a (B) address. 
    It was mentioned that I should be able to combine static and dynamic NAT mapping to allow devices behind the firewall to have a fixed external Address when communicating outbound as well as inbound. 
    So For instance I want the Following: when the Internal Replies I want the reply to come from the mapped IP, not a IP from the Dynamic Pool. 
    Public IP: 192.168.1.100/24
    Internal IP: 10.0.0.100/16
    Public IP: 192.168.5.101/24
    Internal IP: 10.0.0.101/16
    interface Ethernet0/0
    description 192.168.1.0/24 Network Outside IP
    nameif outside-1
    security-level 0
    ip address 192.168.1.1 255.255.255.0
    interface Ethernet0/1
    description 192.168.5.0/24 Network Outside IP
    nameif outside-5
    security-level 0
    ip address 192.168.5.1 255.255.255.0
    interface Ethernet0/2
    description inside 10.0.0.0/16
    nameif inside
    security-level 100
    ip address 10.0.0.1 255.255.0.0
    object network serverA_o
    host 192.168.1.100
    object network serverA_i
    host 10.0.0.100
    object network serverB_o
    host 192.168.5.101
    object network serverB_i
    host 10.0.0.101
    object network 192-168-1-NAT-POOL
    range 192.168.1.50 192.168.1.239
    nat (inside,outside-1) source static serverA_i serverA_o
    nat (inside,outside-5) source static serverB_i serverB_o
    nat (inside,outside-1) source dynamic any 192-168-1-NAT-POOL interface
    object network serverA_i
    nat (inside,outside-1) static serverA_o
    object network serverB_i
    nat (inside,outside-5) static serverB_o
    route outside-1 0.0.0.0 0.0.0.0 192.168.1.1 1
    route outside-5 0.0.0.0 0.0.0.0 192.168.5.1 2
    When I set this up my serverB shows a Public IP of something in the 192-168-1-NAT-POOL Not 192.168.5.101
    Any Suggestions?
    Thanks!

    Not sure why I have Multiple Entries. )-: I did think it was Odd. I think it might be because I looking at examples of the new and old styles of NAT.
    We have a Single ISP, though have 2 separate non-Contiguous  Class C Addresses from them. We host some Servers on one subnet and some on the other. 
    I'm looking for a way to use both Subnets on the same ASA. 
    The Connection to the net looks like this:
    Internet -> Edge Router Layer3 VLAN Switch
    GE0/1.2 - 192.168.1.1 VLAN Tagged --> GE0 - VLAN Tagged
    GE0/1.2 - 192.168.5.1 VLAN Tagged -^
    Layer3 VLAN Switch Firewall
    GE1 192.168.1.0/24 Untagged -> ASA Outside-1
    GE2 192.168.5.0/24 Untagged -> ASA Outside-5
    Firewall
    ASA inside 10.0.0.0/16 -> Switch -> 10.0.0.100
    Hope that helps clarify.
    I could try to post some sanitized Configs of my PIX and ASA if needed.  But the end result I'm trying to do is have the ASA do NAT for multiple Public Subnets. 

  • Good Morning.  I'm having a problem using both my Photoshop elements and premiere programs.  I've installed the programs, redeemed my code and entered the serial numbers, and created the adobe log-in.  I am able to open up the organizer without problems,

    Good Morning.  I'm having a problem using both my Photoshop elements and premiere programs.  I've installed the programs, redeemed my code and entered the serial numbers, and created the adobe log-in.  I am able to open up the organizer without problems, but when I try to open up the photo editor (either by trying to open up the program from the main menu, or right-clicking on a photo in the organizer to edit in elements), the program asks me to sign in to adobe (which I can do and it doesn't give an an "incorrect password" or log-in ID error) then accept the terms and conditions.  When I click to accept the terms and conditions, nothing happens and the editor fails to open.  Everytime I click on the program, I get this same "loop" of signing in and accepting T&C's, but the program fails to open.  Any advice?

      Premiere Elements 10 is now 64 bit, but not PSE10.
    Take a look at your scratch disk set-up and if you have a spare volume, allocate that first before the C drive. Elements use scratch disks when it gets low on RAM.
    Click image to enlarge
    Turn off face recognition and the auto-analyzer to improve performance.
    When editing photos or videos check the task manager to see what background processes may be running and end them temporarily if not needed.

  • Can't use both adjust and settings icons when creating a slideshow

    I have a slideshow that begins with a poem that needs to show longer than the rest of the pictures. If I use the settings icon, then the pictures are all set the same length of time and the adjust icon does not let me make any changes to individual pictures. If I use the adjust button for each picture and do not go to settings, then I can't make the other changes I need such as "fit to music." In essence, I need to be able to use both icons but one "overrides" the other, any suggestions?

    Peculiar. And you selected the specific slide you wanted to change, and then opened the Adjust pane?
    Here are a couple workarounds. If you are stuck with a default slide length (eg 5seconds), copy the slide you want to show during the poem and paste it multiple times into your slideshow (20 times for each minute you want it on the screen).
    Since iDVD will return you to the menu when you're changing between "slideshows" you could use the Pro version of Quicktime ($29) to assemble the pieces and avoid this interruption. The basic process could be:
    - Create a video file of your main slideshow without music by Share/Export to Full Quality Quicktime.
    - Create a video file of your "poem" slide by creating a new slideshow with a long-duration slide and no music (and Share/Export like above).
    - Now you have the two video pieces you need. Using QT Pro, open both files and Select All of the big slideshow and copy. Go to the end of the intro slide and paste (Add) to that video file.
    - Lay the audio track. Use QTime to open the song file, Select All and Copy. Go to the beginning of the slideshow video file that you've been working on, and Add. Save as a Self-contained file.
    Check the slideshow and if ok, drag it onto the menu area of iDVD to import.
    John

  • How to Use Home+End Key on new short usb apple keyboard on XP

    How to Use Home+End Key on new short usb apple keyboard on XP
    now i use macbook and new short apple keyboard.
    it hasn't Home and End key. i try to use Fn + -> , Fn + <-
    it cann't do that. How can i set the Fn + <- be Home key
    and Fn + -> be End key like on my macbook keyboard
    thank you for answer

    Easy, no need to be harsh. I might not be a Level 9  Discussions user, but I’ve been an Apple Technician for more than a decade now. So believe me, I know what I’m talking about. Be it OS X Server or emptying the Trash. But even I come here from time to time to learn from others. Well, back to topic and being a little more specific:
    The 'My Info' setting always belongs to the first iCloud account you add to an iOS device. In this account you create at least 1 contact, the one you will be using for 'My Info'. You then do the same on your other iOS device using NOT the same iCloud account, of course. You only need to enable contacts syncing in iCloud preferences for these primary accounts. From here on you can use differing 'My Info' on your 2 iOS devices without a problem.
    But you may know that you can use more than one iCloud account at a time. Only the primary one will offer all iCloud options like Photostream. But what they all offer is contacts, calendars, etc. So if you intend (and I did) to share these 2 between your devices you can add them using a second iCloud account to both of your iOS devices. This makes it 3 accounts all in all. You could even go further and add another one just for 'Find my iPhone' if you like.
    I would’ve used the built-in sharing of Calendar.app instead, but Contacts.app does not (yet) offer sharing contacts with others. That’s why I went with the third iCloud account as a secondary account to both iOS devices.
    Apple of course recommends using just one Apple ID for everything to make it easier. But in some scenarios this just won’t cut it, which is even described in one of their support documents.
    I hope that now you have an idea what I’ve done…
    Good night
    Björn
    PS: It would be nice if people did not insist on being right. They too can sometimes learn something!

  • Does anyone use both iPhoto and Aperture

    I just got an mac book pro and I am trying to decide what to do with my iPhoto library that is on my old G4 eMac. I'm wondering if the best (and safest) plan would be to transfer that library to the new machine, bring it into iPhoto and then import the entire library into Aperture.
    On second thought I wondered if it would be a good idea to leave everything in iPhoto and just open images in Aperture only when I want the extra editing tools... using Aperture for keeping all the "prime" photos and iPhoto for snap shots and iPhone pictures.
    And... is it even possible to import the library from another machine directly into Aperture?
    Thanks in advance,
    bd

    Pick one and stick with it. They don't actually integrate very much.
    Aperture and iPhoto are entirely different applications that work in very different ways.
    The only communication between the two is as follows:
    Aperture is able to parse the iPhoto Library to allow it to import the contents while stacking the Originals and Modified versions, preserving metadata and so forth.
    Aperture can share its Previews with the iLife apps, including iPhoto.
    That's it.
    So, specifically, what interaction there is between the two is designed to facilitate migration from iPhoto to the more powerful app. After that, iPhoto has exactly the same relationship to the Aperture Library as, say, Pages or iMovie.
    iPhoto has no knowledge of, and knows nothing of how the Aperture Library works. It cannot read the Aperture library.
    So if you decide to try this:
    using Aperture for keeping all the "prime" photos and iPhoto for snap shots and iPhone pictures.
    You'll end up using two apps to manage two different sets of photos, with twice the complications. Aperture is not an "external editor" and can't be used as such.
    Think: Writing your novel in Word and TextEdit at the same time. "I'll write this chapter in Word, this paragraph in TE and then back to word..."
    What of you wanted to sync your Photos back to your Phone? Which library will you use? You can't use both.
    And... is it even possible to import the library from another machine directly into Aperture?
    The routine would be to move the Library to the new machine and them process it into Aperture. Then trash the unwanted iPhoto Library.
    Regards
    TD

  • Is Apple making a connector with the lightening on both ends for 5s and ipad mini syncing capabilities

    I can not sync my 5S with IPad Mini because of adapter not having lightening connector on both ends. I can't afford a new computer to sync my phone. Getting replacement phone because camera stopped working but can't backup my phone. My Mac doesn't have intel.

    Okay great..bought ipad mini for nothing..everybody said get an ipad you can use it to sync your phone blah blah blah..
    Thank you for info

  • Syst allows, using both old & new tax jurisdiction codes on PO after Vertex

    Hello All,
    We have recent gone for Vertex implementation in our concern and have an interface with SAP.
    Now , after the implementation, system allows me to use both old and new tax jurisdiction codes on POs. This will be an issue so can someone help me and let me know if any note has to be applied or any other solution.
    Thanks in advance
    Arun

    There is difference between old and new Jurisdiction codes because as per Vertex GEO codes to SAP jurisdiction codes, there are 2 differences. 
    1) The first 2 characters in Vertex are the GEO numeric code (i.e. 01 = AL in SAP), and
    2) There is an additional zero at the end of the jurisdiction code in SAP TTXJ table. 
        Example:  Vertex 010030420 equals AL00304200 in SAP.
    Thanks
    Arun

Maybe you are looking for