I need to get mouse click???? Pls help!!!!!!!!!!!!!

I have to wait & get a mouse click into textframe and again the process should continue.Please help!!
Actually I can get cursor position. But every time the user will have to run the script again and again.

Hi, I have tried the following code:
byte b1 = 1;
byte b2 = 2;
byte b3 = 4;
byte b4 = 8;
byte results = 0;
results |= b1;
results |= b3;
results |= b4;
System.out.println(results == (results | b1));
System.out.println(results == (results | b2));
System.out.println(results == (results | b3));
System.out.println(results == (results | b4));And the result is:
true
false
true
true
However, I noticed that it's important to assign the bytes the values of the bits right to left:
0000 0001
0000 0010
0000 0100
0000 1000
The first byte should have value 1
The second should have value 2
The third should have value 4
The fourth should have value 8
So that the | operator works.

Similar Messages

  • HT3702 I am unable to add my bank/card details in my apple account, every time i am getting a message that it has been declined. kindly help me in authorise my bank card in my apple account i need to purchase few apps, pls help me

    Hi,
    I am unable to add my bank/card details in my apple account, every time i am getting a message that it has been declined. kindly help me in authorise my bank card in my apple account i need to purchase few apps, pls help me

    What sort of card are you trying to use ? If it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management

  • Query to  get  Week number  Pls help

    I need to get week number of the current year in the format 2008-W47 ( this is for sysdate
    when i try
    select to_CHAR(sysdate,'YYYY'||'-IW')
    FROM DUAL
    i get 2008-47
    but in the format 2008-W47
    Help
    s

    SQL> select to_CHAR(sysdate,'YYYY')||'-W'||to_char(sysdate,'IW') from dual
      2  /
    TO_CHAR(
    2008-W47

  • Have HVX200, need to get footage to PC HELP!!!!

    Ok, so I have an HVX200 and final cut 4.5 and since 4.5 doesn't recognize p2 files and I can't get FCP 5 without paying the full price (I have the academic version and you can't upgrade it), i'm having to do a capture directly from the camera. So after ALLL that, i need to get it to my pc because i have the PC version of magic bullet.
    Here is what i need help with. How in the world do i export FULL HD quality footage that my PC can recognize. I have macdrive so i can see the files, but they don't have an .Mov file extension and therefore i can't open it. Can anybody please help me with this. It would be greatly appreciated.

    Don't know if I can help, but I'll see what I can do (I own a PC for gaming only).
    What codec did you capture from the camera as? What program on the PC are you using to edit? Does that program support the codec you captured as? Can the PC recognize the Mac formatted disk? If not, you may have to reformat it for the PC, then put the files on there.
    But really, you need to know if the PC and editing application on the PC supports the codec you captured as. If not, it won't work. What might be the better option is to buy Magic Bullet for FCP...it only runs $295...
    Shane

  • Getting mouse click coordinates with image button

    I'm using ADF Rich Client components in JDeveloper 11g Technology preview.
    I have to get the mouse click coordinates with an image button. In the page I put something like this:
    <af:commandButton text="commandButton1" icon="ambiente.jpg"
    actionListener="#{prova.listen}" action="#{prova.esegui}" />
    In the listener method of the managed bean I try to get the coordinates with this code:
    public void listen(ActionEvent e)
    FacesContext context = FacesContext.getCurrentInstance();
    String clientId = e.getComponent().getClientId(context);
    Map requestParams =
    context.getExternalContext().getRequestParameterMap();
    int x =
    new Integer((String) requestParams.get(clientId + ".x")).intValue();
    int y =
    new Integer((String) requestParams.get(clientId + ".y")).intValue();
    but it doesn't work. It seems that there aren't in the request the coordinates of the image point clicked. Is it true? How can I do that with ADF ?

    Hi,
    the mouse position is not part of the request parameters send. You will have to use client side JavaScript for this
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document>
    <f:verbatim>
    <![CDATA[
    <script>
    function handleMouseCoordinates(event) {      
    alert("x: "+event.getPageX()+" y: "+event.getPageY());
    </script>
    ]]>
    </f:verbatim>
    <af:form>
    <af:commandButton text="My Click Button" icon="/images/jdev_cup.gif">
    <af:clientListener method="handleMouseCoordinates" type="click"/>
    </af:commandButton>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Frank

  • Re: Embedding Applet in JSP which gets dynamic input| Pls help

    Hi All,
    We are into a project in Oracle Portal Server where in we want to embed a result of a standalone application(Which is applet) in JSP.
    This standalone application generates applet based on the input it gets from the current application's database.
    If it was static we could have used jsp:plugin but, it fails in our case!
    We are clueless as to how to embed an applet which will pick up the data dynamically.
    Can anyone of you help me in this regard?
    Thanks & Regards
    Arthi

    Well instead of generating entire applet ,you can have a generic applet which takes parameters as ( <PARAM name="name" value="value"> ) inputs and process those inputs to generate output.
    In this case the output of the stand alone program would be a object. And in JSP page you need to access this object, then you can get the values which need to be passed to Applet.
    Else
    1.Identify the real path of the applet class file
    ServletContext context = session.getServletContext();
    String realContextPath = context.getRealPath(request.getContextPath());2.Copy the file to a standard location in your web application
    Regards,
    -John-

  • I am creating an apple account on my phone but it says i need to pay, can anyone pls help

    I am creating an apple account on my phone but it says i need to pay before i can get an account. i really need help on this

    if you mean it is asking for credit card information when setting up an apple id and you do not have one or do not want to provide it, read this: http://support.apple.com/kb/HT2534

  • How much Ram do I need? (getting a new laptop, help me please!)

    Hi!
    So I'm in the market for a new laptop since my current one can't manage at all.
    I've found an MSI laptop that I really want :
    http://www.msi.com/product/nb/GS70-STEALTH.html#specification
    It's a gaming laptop but it's got all the specs I've been looking for and the thiness and lightness of it is just astounding.
    The only problem is that it's only able to have 16 GB of RAM, will this be enough?
    I mostly use Premiere pro cs6 where I'm confident that 16 GB will be enough, I'm a bit worried about After effects cs6 though. I don't use AE everyday and when I do it's as a hobby but I do still sometimes use it quite a bit, at the same time as running Premiere. And once I get a laptop that can actually handle AE I will probably start using it more.
    So what do you think, will 16 GB of Ram be enough?
    I am currently using a laptop with only 6 GB (and it's a nightmare, although the other specs of this laptop aren't really worth smiling about either)
    I would really appreciate any and all help!
    /Lisa

    > I just recently realised that the graphic cards in all of the laptops I've been looking at are not supported by neither Premiere pro cs6 nor After effects cs6.
    That is not a correct characterization.
    The GPUs that you list are supported for use by these applications.
    In the case of After Effects, there is one---and only one---feature that doesn't work on the cards that you list... and it's a feature that you don't need to worry about: GPU acceleration of the ray-traced 3D renderer. That's all.
    Put differently:
    "IMPORTANT: A common misconception is that After Effects requires CUDA features of one of a specific set of Nvidia GPUs. That is not true. Only the GPU-accelerated ray-traced 3D renderer requires this. The other GPU features work on any GPU that meets certain basic requirements, including AMD and Intel GPUs. See below for details."
    (from this page: GPU (CUDA, OpenGL) features in After Effects CS6 and After Effects CC)
    The case of Premiere Pro is only somewhat different. You can use all of the features in the application; it's just that some of them will be faster with a certain GPU. Details:
    http://blogs.adobe.com/premierepro/2011/02/cuda-mercury-playback-engine-and-adobe-premiere -pro.html
    Also, the CC versions of these applications allow you to use any GPU that meets certain requirements for the features described above. It is here that you do enter into "unsupported" territory, because enabling the usage of the GPU for these features can put the system into an untested and unsupported state.

  • My 7th gen ipod nano wil not show up on my laptop when I plug it in and neither will my brothers new ipad,they don't come up in my computher either and I've installed the new itunes twice but still no change,I really need to get this working,Please help

    I need help

    Thanks for a reply
    The cable that I'm using came with my 5th gen nano. The 6th gen Ipod shows that it's connected but the computer doesn't see it, so I don't think that it's the cable.
    I did try this before when looking at the troubleshooting guide and nothing happens. It just resets and then the Ipod screen tells me that it's connected to the computer. It still is unseen by Itunes and no where to be found in my computer.
    I don't have another computer to plug it into at the moment but I may be able to visit a friend that owns a decent PC in a few days. If that doesn't work out I will be getting a new lap top in a week and I'm hoping that it will work on that, but it won't be a Mac. So, let's say it works when I plug it into one of these computers, should I reset my Ipod from there or is there something else I should do?

  • How to run i tunes version 10.6.3 on mac os x 10.6, 32 bit mode? it gives mesg to go into 32 bit mode but i cant get into it pls help

    how to run i tunes version 10.6.3 on mac os x 10.6, 32 bit mode? it is downloded in 64 bit mode. when i start i tunes it gives mesg to go into 32 bit mode by going into finder, choose the the "get info command" then check the check box "32 bit mode in window" but i am not finding the check box of 32 bit mode. pls help

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • BOM component sizes are getting doubled?Pls help?

    Dear Gurus,
    While creating PO with item cat "L"...In delivery schedule tab, I m selecting the delivery schedule for 79 47 grid value size, and clicking on "object list" to enter bom components.
    After entering the components, I am going back to the PO and again clicking on  "object list" to check once again.
    This, time the units are multiplied...strange behaviour of the system....
    Can anybody help me out to sort this issue?
    Thanks...

    thanks...

  • Completely new to lab view and need to get some stop watch help please

    OK I am new to lab view so please be patient with me. I have a need for a stop watch that is triggered to start when two voltage values differ by more than 0.110V and then stop counting when they return to within 0.110v my goal is to capture the total amount of time the two voltages differ and record it along with the rest of the data is this possible and how would I do it? Thanks I am running 8.5

    danger831 wrote:
    thanks for the quick response but thats not really enough info to help me as I am very very unfamiliar with lab view and have only been using it for a few days(mainly just plugging in copied sections) so hopefully someone can give me a little more help. But the good news is I am now looking into taking one of the Lab view courses but that probably won't help me with this problem this week. thanks again for your help
    For starters, try to write the name correctly. It is LabVIEW, not lab view.
    Seriously though, your best way of learning to is try some things yourself first. Look through the examples that ship with LabVIEW for the components Raven suggested (while loops, shift registers, etc.) We could give you a working example but you will learn far more by trying things for yourself. As suggested, try a few things and then post what you have done and what you are having trouble with. From there we can answer your questions rather than just do it for you.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • HT1424 I want to subscribe for one year but could nt get through. Pls help

    I want to subscribe for one year but could not get through. Every time it says wrong Id or password and hence it could not be purchased.
    Pls help

    That means that the password you entered is not the correct one for the Apple ID listed.
    First go to Settings>iTunes and App Store and sign out and sign back in.
    Next reset the password. After resetting you have to sign out and sing back in before making a purchase

  • Re Iphone 4s.  When I touch photos I get maps.  Pls help.

    Please help - I cannot get into my photos.  When I touch the photos icon (the flower) I get a map from the map icon.  I moved both icons so that they would not be together but it still happens.  I get a map instead of my photos.  I also reset the Iphone.  I do not know what else to do.  Thank you

    Open the photo app again and make sure that on the bottom of the screen "Albums" (on the left side) is selected,  "Places" on the right side of the screen will show you a map of the locations where you took the photos.

  • I have problem in web page when i go to open home page but there given some massage that massage is upgread modern browser how can i get modern? pls help me.

    when i go to open youtube at that time my computer says upgread the modern browser .i am using windows xp how can i get moder browser?
    == URL of affected sites ==
    http://youtube
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; AskTB5.6)

    You can get Firefox 3.6.3 from here:
    http://www.mozilla.com/en-US/firefox/
    or
    http://www.mozilla.com/en-US/firefox/all.html

Maybe you are looking for

  • I have 2 acounts how can i merge them?

    One account was downloads from my 3g i phone the other is the account from my current 4g phone how can i merge old 3g account with new 4g account?

  • Hotfix Compatibility: KB2522807 - Windows Server 2008 SP2

    Can someone explain why this Hotfix is not compatible with Windows Server 2008 SP2 when it states this is one of the OS prerequisites? There only seems to be a download for Windows Vista, 7 and 2008 R2 but not 2008 Standard. I am seeing this exact is

  • E52 problem with GPS

    After updating software to 054.003. version I am unable to open navigation and install any other updates using Ovi Suite. Any ideas?

  • Business Component and Task flow learning

    Hi everyone, can anyone suggest me how and from where I need to start learning Oracle BC ,Entity objects,View object and task flows concept . I am familier with Oracle ADF but never used this components. so Please help me to learn the thing quickly.

  • MacintoshHD/private/var/vm taking up 34GB?! Anything I can do about it?

    I've got a MBA (late 2010 model) and I was downloading some movies when I got a message saying that I didn't have the storage space for them. The last time I checked my SSD (128GB), I had over 50GB of free space so this came as a little surprise. So