I want change the mouse cursor image when cursor come on the label

how can i make this??

Hi,
Write a mouse listener to ur label like this. When mouse enter the lable region what ever the cursor u wish to give in the mouseentered region that will appear.
Use the follwing code:
jlabel.addMouseListener(this);
     public void mouseClicked(MouseEvent arg0) {
     public void mouseEntered(MouseEvent arg0) {
          setCursor(Cursor.getPredefinedCursor (Cursor.HAND_CURSOR));
     public void mouseExited(MouseEvent arg0) {
          setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
     public void mousePressed(MouseEvent arg0) {
Rgds,
Kumar.
     public void mouseReleased(MouseEvent arg0) {
     }

Similar Messages

  • Want to change the labels on the buttons on search criteria

    Want to change the labels on the buttons on search criteria as i work on Arabic ADF Project
    i want to change the label of "SEARCH" button , "ADVANCES SEARCH" , "BASIC" , "SAVED SEARCH"
    i don't know how to change this labels as when i drug search criteria over the form i don't know how to change this fields
    thanks i advance

    Hi,
    Arabic language is supported by ADF Faces RC on the fly. When you incorporate localization in your application and set the locale attribute of your page's <f:view> tag to "ar", the labels of the query component will already be shown in Arabic. Please see sample code snippet below:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              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=UTF-8"/>
      <f:view locale="ar">
    ....Please see the following blog-post for details: http://soadev.blogspot.com/2010/03/adf-faces-rc-supplement-on-how-to.html
    regards,
    Pino

  • How do I change my mouse cursor back to an arrow? Using Safari, it suddenly changed to a crosshairs icon. Help pls!

    how do I change my mouse cursor back to an arrow? Using Safari, it suddenly changed to a crosshairs icon. Help pls!

    I have this question too but I found the answer at another thread. It is due to Adobe PDF plug-ins. In case you haven't seen it, the link is as follows:
    https://discussions.apple.com/message/21976207#21976207
    All the best.

  • When printing mailing labels from Contacts how do I change the label size?

    I want to print mutliple labels from a group in Contacts. I can print 20 labels per page but I want to print 14. I have tried every option in the pop up window but nothing lets me change the label size, 

    Hi 786menzies,
    Welcome to the HP Support forums.  I understand that your print jobs from Photosmart 5520 seems very small.
    The font size is controlled by the software program that the document was created in, for example any Microsoft Word document that you send to the printer the font size would have been chosen in Microsoft Word.  I've included two different documents on how to change the print settings; one for Mac and one for Windows 8.  These documents will show you the process on changing print settings if not the actual steps as you may not be using one of the operating systems mentioned.
    Changing Print Settings in Mac OS X
    Changing Print Settings in Windows 8
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • In runtime i want change the font of form of medruck

    hi expects,
        in runtime i want change the font of form of medruck.is it possible?

    You can do that by puuting the line you want to change in the condition and on the basis of the condition selected , display your line of script.
    Line can have your character format.
    Otherwise not.
    Regards,
    Amit
    reward all helpful replies.

  • How can i change the label of an array controller in the xib file

    I have seven instances of NSArrayController in my main xib file; they are all labled 'Array Controller' and I cannot change the label in the list of objects.  I can change the label in the identity inspector, but the label still remains 'Array Controller' in the list of objects.  If I double-click on the label that is in the list and change the label its value changes in the identity inspector when I tab out of the label field but the label reverts to 'Array Controller' in the list of objects.  I'll never be able to keep the seven controllers straight in my head.  Is there a solution?

    The problem is was in Xcode, while editing the xib file.  After many back and forth jumps (between Xcode and this composer for the discussion) and many attempts to relabel the array controllers over two hours, the changes have appeared just as I want.  I hate it when that happens (who likes egg on their face?)
    I'm sorry for wasting your time.  Thanks for your input.

  • Changing the label name

    Hi all,
    I am trying to change the label name and the text in text view, when i do the changes in development system its changing, but when i transport the changes to testing system the changes does not reflect, i tried resetting the OTR buffer, still it doesn't work for me.
    Help me in this.
    Thanks in advance.

    Hi Thomas,
    Yeah i do have a transport request, and the changes are captured by the request,
    it does not show any error in import log,
    but i solved it, i just deleted the label ui element and then created new, by doing this i got what i want,
    but i really dont know why its not changing when i change just the name.
    anyhow thankx for the mail.

  • Changing the Label Add to Portal Favorites

    Hello All,
    I want to change the label " Add to Portal favotite"
    I have downloaded the file <b>com.sap.portal.navigation.pagetoolbar</b> and I got a zipped file out of it .
    Iam unable to import this file to make changes.
    Can anybody suggest me the way to import this file and make the chnage for the label.
    Thanks

    Hello Sudhir
    Thanks for ur response .
    iam using the developer studio to import the file but when I unzip the file I see that there is no Par file  in it . it has JSP script files and I am unable to import that file to modify.
    Can you suggest me how to import and chnage the label.
    Thanks

  • Changing the label of TOC to another language in Captivate 7

    I am using Captivate 7 and created a number of English Projects.  I have translated these English files to French (by exporting/importing captions), changed the voices, etc, etc.  All is now in French in the project except the title of the Table of Contents when enabled.  I have already changed the labels in the table of contents for things such as Slide Title, Duration, etc by creating the TOCStrings.ini file and copying it to my root folder - that works as described in other posts/blogs. However, I am unable to change the Heading/Label of "Table of Contents" to French. 
    Is the TOCStrings.ini file the place to change the label of Table of Contents to French?  If so, what string would I add to the file to make this change happen?
    Can someone please let me know where the change can be made (if not in the TOCStrings.ini) or if the change is even possible? 
    Thank you!

    If you enter data in the Info fields of the TOC, the indicator 'Table of Contents' will automatically be replaced by the Title field.

  • Changing the label of a field in SAP GUI

    Hello SAP Guys,
    I would like to change the label of a field in SAP GUI.
    I already did it internally because for that field the Shor Text of the label changed:
    I went to SE11, and wrote down the appropriate data element, through Translation I changed the entries of SCRTEXT_L, SCRTEXT_M and SCRTEXT_S and activated this change after saving.
    It is very strange that after making sure that the
    Short Text of that field was changed, I went to trx BP and I could see that the label didn´t change.
    I´ll appreciate any help you can give me,
    Regards,
    Efrain

    Hi Efrain,
    Can you tell me in which screen did you make the screen.
    Moreover the changes are not reflected immediately.
    What you can try is to create a new record of the transaction in which you changed the label and save the recore. After this try to close the session and reopen the transaction and this should work.
    The reason is the label on the screen are not picked up from the data element everytime but from buffer. So when you create a record this updates the database table entry and can also refresh the buffer.
    I had the same problem in BP transaction and the above solution worked.
    Let me know if this helps.
    Jash.

  • How to change the label of a total column in pivot view

    Hi
    Is there a way to change the label of the column created by analytics when calculated row based totals? Currently, it is same as the measure label to be summed.
    Thanks

    Hi
    Thanks for your help, actually that option works for the total displayed as the latest row, I mean the label for the total row. However, for the total column, the name stays as the same as the measure label.
    Can you further help me on the issue?
    Thanks

  • How to Change the label names in crmd_order

    HI Experts
    in CRMD_order transaction i want to change the lable names to the following Standard labels is it possible?..
    the standard label names are
    Standard Label name proposed label name
    Sold to Party = XXXXXXXX
    Requester = YYYYYYY
    Change Manager = AAAAAA
    Change Advisory Board= BBBBBBB
    I have found one link in sdn,To change the label Names But I am not able to find data element name.
    Kindly provide me  your valuable guidance on the above issue.
    Thanks in advance
    Thanks & Regards
    Anand

    Hi,
    it looks like you want to change the names of the partner functions.
    You can do this in the customizing, for example using SPROScenario Specific SettingsService Desk-Service Desk--Partner Determination Procedure (This one works for both ChaRM & Service Desk).
    The standard procedure in your case would be SDCR0001.
    The recommended way is to define your own Z partner functions and assign them to your own Z Partner Determination Procedure, which you have to replace in the configuration of your transaction type.
    Regards,
    Christoph

  • I had to change my Apple ID. However, it won't change in my phone. I changed it in setting, but when it comes to downloading updates for apps or music, it won't update from my old Apple ID.

    However, it won't change in my phone. I changed it in setting, but when it comes to downloading updates for apps or music, it won't update from my old Apple ID. For instance, I had to change my apple ID from (for instance, "[email protected]") to something else ("[email protected]"). I changed it in settings to the new one, but when I go to update apps, my phone is still connected to "[email protected]"
    What should I do?

    In the Finder do a Get Info on one of those files & the folder it's in, report what it says for privileges.
    Oh, did you maybe change your short username/Home Folder's name?

  • Trying to change the labels for some UI elements

    hi,
    Problem:  I am trying to change the labels for some UI elements and transport the views from one server to another server.
    the lables show changed in the source server but the changes dont reflect in the destination server
    Kidly help me to slove this problem

    Hi Sharad
    The process is as explained:
    1.     Firstly, go to the respective view, and to the Label and then delete the Label Text as   
                    mentioned in the attribute u2018TEXTu2019 of the Label in the view.
    2.     Next, Activate the View, if it asks for a change request, please assign it to a new TR.
    3.     Finally give the Label text again and then Save it and activate it.
    4.     Further transport the request to ECP and find the difference.
    This especially happens when we frequently change the WD Component and embedd it entirely in the Transport.
    I hope this information would be of a great help to all of us.
    Ponts if helpful.
    Regards
    Roshan

  • Can't change the label text for the first time of  loading

    I have some problem to change the label text in the prerender method.
    I put a label on the form and set the text value to "Customer" on the text properities , and I would like to change the lable text to "Supplier" in the prerender method, I found some strange behaviour.
    If I type nothing on the label text of the properties , I can change the lable text on the prerender method on the first time of the form load .
    If I put something on the label text of the properties , the text label can't be changed on the first time of form loaded, the lable can be changed if I refresh the form or reload the form.
    Could anyone help me to solve this kinds of problem ?
    Thanks

    This is a tough one to explain. Here is one explanation from the Delving Into Components tutorial:
    As with the JavaServer Pages implementation, when the server constructs a page from JSP source, the tag attribute settings in the JSP source take precedence over runtime settings. For example, if you set the text property for a Static Text component to "moon," the IDE adds text="moon" to the Static Text component's tag in the JSP file. Even if the page's prerender method has a staticText1.setText("sun") statement, the Static Text component shows "moon" when the application renders the page. If the page is rerendered, the staticText1.setText("sun") statement takes affect and the Static Text component shows "sun." If you visit another page and come back, the server once again constructs the page from the JSP source, the values set in the JSP tag attributes take precedence, and the page displays "moon."

  • I want to update to iOS 7 when it comes out via iTunes. I gather that I will require iTunes 11.1 to do so, but I recently updated my version (today) to version 11.0.5. Will I be OK or wait until I have a Wi-Fi connection and do it then?

    I want to update to iOS 7 when it comes out via iTunes. I gather that I will require iTunes 11.1 to do so, but I recently updated my version (today) to version 11.0.5. Will I be OK or wait until I have a Wi-Fi connection and do it then?

    More than likely, the new version of itunes will be released later today in conjunction with iOS 7. But, yes, you can update the phone via WiFi. Make sure to set up icloud and do a back up first.

Maybe you are looking for

  • IDOC to HTTP tutorial  and vice versa

    Hello all, I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I

  • Specific positioning of anchored frames

    How do I insert an anchored frame at exactly 1/2 inch from the left margin? Once I get that done, can I copy that frame and paste it in another location and have it be that same exact distance from the left margin? Thanks!

  • Client has only CS5.5 Indesign. I've CC. Can I get previous version to avoid .idml files?

    At the moment we're both using old CS4 Indesign to avoid the downsaving of files. Somebody said being with CC you can get previous versions too. Is this the case or is there another way around this please?

  • Need help setting up Remote Desktop over internet

    Hi all, Now that I did additional research, I know that Logmein or Teamviewer would have worked.  Unfortunately, I already purchased 2 copies of ARD at the recommendation of an Apple Genius. I need to connect to my mom's iMac from my house.  She gets

  • Internal modem and V.92

    I have a PPC Mini with OS 10.4.6. I use the Apple Internal V.92 Script. My ISP offers V.92. Does Tiger record whether a connection was made with V.90 or V.92? V.92 offers Quick Connect for numbers that have been dialed before, reducing handshake time