Display hour glass mouse pointer

Hi all!
Does anyone know how to make the mouse pointer into a hour glass pointer? After clicking the "Load" button in the application, it takes a long time to display the contents. So I thought of informing the user that he has to wait for it to display the data.
Anyone know?
-KAren-

try the following line when you respond to the button press:
setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
But don't forget - you need to change it back when you are done ;-) To change it back:
setCursor(Cursor.getDefaultCursor);
Hope that helps.

Similar Messages

  • Scale Maker Display Value At Mouse Pointer

    [http://picasaweb.google.com/lh/photo/lpP1mX7pTd4R_ePr89fw7w0hA5i5v2I0J6LQTHStSe0?feat=directlink]
    Hi ,
    I have used Scale Marker in the Line Graph(Image link attached) using a SQL Query.
    Sales Fact(second Line) on the graph displays Value when mouse is pointed but for Marker line this does not happen.
    Can any one suggest a method to resolve this?
    Regards,
    Sreekanth

    John,
    I wanted to avoid taking the column as u suggested in Criteria because its causing a Cartesiona product ex:
    Select Target_Value,Quantity_Sold from sales,Target_Ref where Sales.rowid<> Target_Ref.Target_id.
    I wanted to avoid this by pacing the Select Target_value from Target_ref query in scale Marker.But my client requires wants data lables to be displayed for Scale marker too.
    Regards,
    skarangi

  • Change the mouse pointer to an Hour glass

    hello,
    Could any one of you let me know how to make mouse pointer to an hour glass in swing application.
    Thanking you in advance..
    Ram

    Check out how I do this in my Draggable classs
    you are welcome to use and modify this class, but please don't change the package or take credit for it as your own work
    package tjacobs.ui;
    import java.awt.Component;
    import java.awt.Cursor;
    import java.awt.Dimension;
    import java.awt.Point;
    import java.awt.Window;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    * tjacobs.ui.Draggable<p>
    * Makes a component draggable. Does not work if there's a layout manager
    * messing with things<p>
    * <code>
    *  usage:
    *                 Component c = ...
    *                 new Draggable(c);
    *                 parent.add(c);
    *  </code>
    public class Draggable extends MouseAdapter implements MouseMotionListener {
        Point mLastPoint;
        Component mDraggable;
        public Draggable(Component w) {
            w.addMouseMotionListener(this);
            w.addMouseListener(this);
            mDraggable = w;
         public Draggable(Window w, Component drag) {
              drag.addMouseMotionListener(this);
            drag.addMouseListener(this);
              mDraggable = w;
        public void mousePressed(MouseEvent me) {
              if (mDraggable.getCursor().equals(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR))) {
                   mLastPoint = me.getPoint();
              else {
                   mLastPoint = null;
         private void setCursorType(Point p) {
              Point loc = mDraggable.getLocation();
              Dimension size = mDraggable.getSize();
              if ((p.y + WindowUtilities.RESIZE_MARGIN_SIZE < loc.y + size.height) && (p.x + WindowUtilities.RESIZE_MARGIN_SIZE < p.x + size.width)) {
                   mDraggable.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
        public void mouseReleased(MouseEvent me) {
            mLastPoint = null;
        public void mouseMoved(MouseEvent me) {
              setCursorType(me.getPoint());
        public void mouseDragged(MouseEvent me) {
            int x, y;
            if (mLastPoint != null) {
                x = mDraggable.getX() + (me.getX() - (int)mLastPoint.getX());
                y = mDraggable.getY() + (me.getY() - (int)mLastPoint.getY());
                mDraggable.setLocation(x, y);
    }

  • Converting mouse icon to hour glass

    Hello all,
    I was just wondering if there's a way to convert the mouse icon from an arrow to an hour glass. The context in which I want to do this is when I have a GUI and I press a button and that button causes a lengthy delay, because of heavy computations, before displaying the next GUI. During this delay, I want to convert the mouse icon to an hour glass just so the user knows to be patient.
    Gibran

        Cursor wait = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
        component.setCursor(cursor);
        component.setCursor(Cursor.getDefaultCursor());

  • External display won't show the mouse pointer (optical)

    hi all,
    13" display dimming my old eyes . decided to connect to 20" sony monitor. got the adapter > connected> display shows identical to laptop BUT no mouse pointer AND when the external monitor is displaying, the menubar is not longer existent on the powerbook (the trackpad does work on the laptop screen with external connected ) so I cannot get to the display preferences to set anything up to get the mouse pointer to show on the external monitor.
    HELP and thanks
    sue

    ok folks, fiddled since I wrote this and managed to actually get it going ! so all set.
    I'm up and running with the display. and all is dandy !
    Message was edited by: Sue brown1

  • Display Mouse pointer coordinates

    Hi all
    I have an Applet that implements MouseListener and MouseMotionListener events.
    In mousePressed() method i'm writing code to draw a point on the location where the mouse was pressed.
    In mouseMoved() method (the problem) I'm trying to write code so that the coordinates of the mouse pointer are displayed...I managed to do the following :
    int xMove,yMove;
      public void mouseMoved(MouseEvent e) {
           Graphics g=getGraphics();
         //erase old mouse location coordinates
            g.setColor(this.getBackground());
            g.drawString("+",xMove,yMove);
            g.drawString(""+Integer.toString(xMove)+","+Integer.toString(yMove)+"",xMove+10,yMove-10);
           xMove = e.getX();
           yMove = e.getY();
        //paint new mouse location coordinates
           g.setColor(Color.black);
           g.drawString("+",xMove,yMove);
           g.drawString(""+Integer.toString(xMove)+","+Integer.toString(yMove)+"",xMove+10,yMove-10);
      }the prroblem of this method is that when i move pointer over an already painted point ; this point is erased from the screen !
    I want the mouse pointer to be showed over all painted shapes on my applet.
    can you give me a hint on how to do that ?
    many thanks.

    thanks guys , I managed to solve the problem myself.
    I can tell how i did it if someone wants to get the point.
    Thanks again for your time.
    regards.

  • After upgrade I have a black display showing only the mouse pointer

    I just installed the Windows 10 Technical Preview on my Lenovo W540 laptop.  The installation appeared to to go just fine and I did not see anything that should cause any issues.  Now that it is complete, my display is black and I see the mouse
    pointer on the screen.  I can move the mouse just fine, but nothing else will display when moving the mouse.  If I hit <ctrl><alt><del> then our domain banner page will flash on the display but I can't hit the OK button to get to
    my login prompt.  Has anyone seen this before?  What can I do to resolve this issue?  Any suggestions out there?
    Wade Preston

    I just connected remotely to the Applicaiton log files via computer management.  I see that the LogonUI.exe application is failing.  I have attached the log for this error.  Anyone know what to do with this error or how to fix it?
    Here is the log:
    Log Name:      Application
    Source:        Application Error
    Date:          10/2/2014 11:07:55 AM
    Event ID:      1000
    Task Category: (100)
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      BF03500KL.baldwin.corp
    Description:
    Faulting application name: LogonUI.exe, version: 6.4.9841.0, time stamp: 0x5413b9b7
    Faulting module name: MSVCR100.dll, version: 10.0.40219.1, time stamp: 0x4d5f034a
    Exception code: 0xc0000005
    Fault offset: 0x000000000003645a
    Faulting process id: 0x1244
    Faulting application start time: 0x01cfde5b066a2697
    Faulting application path: C:\WINDOWS\system32\LogonUI.exe
    Faulting module path: C:\WINDOWS\SYSTEM32\MSVCR100.dll
    Report Id: 44725ffb-4a4e-11e4-95d5-54ee7501cb36
    Faulting package full name: 
    Faulting package-relative application ID: 
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Application Error" />
        <EventID Qualifiers="0">1000</EventID>
        <Level>2</Level>
        <Task>100</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-10-02T16:07:55.000000000Z" />
        <EventRecordID>48596</EventRecordID>
        <Channel>Application</Channel>
        <Computer>BF03500KL.baldwin.corp</Computer>
        <Security />
      </System>
      <EventData>
        <Data>LogonUI.exe</Data>
        <Data>6.4.9841.0</Data>
        <Data>5413b9b7</Data>
        <Data>MSVCR100.dll</Data>
        <Data>10.0.40219.1</Data>
        <Data>4d5f034a</Data>
        <Data>c0000005</Data>
        <Data>000000000003645a</Data>
        <Data>1244</Data>
        <Data>01cfde5b066a2697</Data>
        <Data>C:\WINDOWS\system32\LogonUI.exe</Data>
        <Data>C:\WINDOWS\SYSTEM32\MSVCR100.dll</Data>
        <Data>44725ffb-4a4e-11e4-95d5-54ee7501cb36</Data>
        <Data>
        </Data>
        <Data>
        </Data>
      </EventData>
    </Event>
    Wade Preston

  • Mouse pointer disappears after using the magnifying glass in the color picker

    Hello,
    I've a problem (one more) with Lion on a Mac mini 2010. Every time I select a color from the screen using the magnifying glass in the color picker, the mouse pointer disappears. I've to move the mouse to the top of the screen and try to click the bar menu. If I succeed, I get the pointer back.
    Someone with the same problem?
    Thanks for reading

    I've found a partial solution: The probem doesn't affect to a new fresh user, so you can backup your data, create a new temporary (admin) user, delete the original account and create it again with the same name (to avoid file permission troubles). Remember to backup your data or it will be lost.

  • Hour glass wont go away on display, so cant print or scan.. Please advise.

    Hour glass wont go away on display, so cant print or scan.. Please advise.

    traumax,
    Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on and would you mind clarifying where we see the hour glass - on the printer or the desktop? 
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Psc2510 working before power outage, hangs trying to restart only displaying a static hour glass

    printer working fine prior t power outage. once power restored, printer will not complete initialization process, just hangs and a static hour glass is displayed,  running windows XP professional, HP psc2510 wireless photosmart printer
    This question was solved.
    View Solution.

    Pull the power cord from both the wall and the printer for 10 minutes.  Plug back in and try again.  If that does not work, either the printer or the power supply is toast.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Java Icon set: Hour glass??

    Hi y'all!!
    I know of the free graphics repository that provides a set of basic icons
    http://java.sun.com/developer/techDocs/hi/repository/
    but this set doesn't contain what I need for my app:
    I would like an hour glass, like the one displayed when you change the mouse cursor to a waiting cursor, but this should be in the Metal Java look and feel.
    If anyone out there knows of anyother graphics repositories which may have an hourglass.. or if you know how else I can obtain one.. please, please could you tell me! You'd be saving me a lot of unnecessary time in painfully drawing one in an icon editor.
    Thanks in advance you guys - later Edd

    Hmmm, google images "hourglass cursor" and may be:
    http://www.uni-heidelberg.de/images/index_AIcons_appl_cursor.html

  • Cursor is changing into hour glass

    Hi,
    After displaying XML report cursor goes into waiting hour glass, I don't know what is the problem.

    Hi,
    What is the application release? What is the OS? Browser?
    Is this a standard or custom concurrent program?
    Any errors in the JRE/Jinitiator Console window?
    Can you reproduce the issue from different machine and/or using different browser?
    Please see if the documents referenced in this thread can help.
    Ebiz 12.0.4 Mouse stops selecting fields in Forms
    Ebiz 12.0.4 Mouse stops selecting fields in Forms
    Regards,
    Hussein

  • The Hour Glass just spins on my 8320, HELP!

    Device info
    Your carrier: T-Mobile
    Curve 8320 OS version:v4.5.0.81(Platform 2.7.0.78)
    Apps and free space
    File free before 0 Bytes after a battery remove/replace 3672629 Bytes
    Did a battery pull fix your issue?  NO
    Apps installed and their version if possible.
    BlackBerry 4.5.0 Core Application 4.5.0
    BlackBerry 4.5.0 System Software Properties 4.5.0
    BlackBerry App World 1.1.0.33
    BlackBerry Attachment Service 4.5.0
    BlackBerry Maps 4.5.0
    BlackBerry Messenger 5.0.0.33
    BofAMobileBanking4 4.0.2
    BrickBreaker 4.5.0
    Browser 4.5.0
    Documents To Go 1.000.080
    Email Setup Application 4.5.0
    Facebook 1.7.0.22
    Google Mobile App 3.6.14
    Google Talk 2.5.32
    Help 4.5.0
    MemoPad 4.5.0
    Password Keeper 4.5.0
    Phone 4.5.0
    Poynt 1.4.2.72
    Tasks 4.5.0
    The Weather Channel 1.5
    BT device model/version (you will have to look at the BT device):
    Motorola T305
    Any other details that would help us out with your issue:
    Since I first received my Curve 8320 in Feburary of last year, I've always had to occasionally pull the battery to reboot the phone when it would "Lock Up" and the hour glass would spin.
    The frequency with which I have had to do this has steadily increased to the point where I now have to do it daily if not several times a day.  When this happens the hour glass will display and spin.  Sometimes for several minutes, sometimes until I pull the battery or cntrl-alt-del the phone.  I occasionally get a message that the phone application is unavailable, but not always.  Sometimes the phone will ring, and when I answer the screen will stay on the Home Screen, or there is a significant delay between screens changing and the buttons functioning.  Recently the phone just died while in a call.  The screen went black, the phone was unresponsive to the buttons, and would not power on or off.  A battery pull fixed this.  Sometimes the screen will partially or entirely go white.  Mainly the hour glass just spins and spins.  The local T-Mobile store has been no help.
    Any ideas on what I can do to get this phone working well again? 
    I'm in sales and this is the phone I conduct ALL my business on, and therefore I use it ALOT.  It is very annoying, and time consuming to reboot so much.
    Thanks!

    BDHershey wrote:
    I'd like to see what y'all have up your sleeves in regards to the Databases before wiping the device or reloading the OS.
    Cool, there's no significant size to your databases, then. Nothing to work with there.
    And, your Media card doesn't show significant usage either. I asked that because large usage of the Media Card can create some usage of the device memory, as your device will scan the media card and hold in its memory that image for quickest access to the card, like a drive image, for lack of better terms.
    I don't think that is affecting you either.
    Now, I do think you need to do as adivsed above. I am betting you will gain 15-20bm of space by doing a complete backup, wipe and reload of the OS, then restoring your data.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • RoboHelp acting weird--flickering hour glass

    Here's a great Monday a.m. problem for you: I've imported a
    project from RH4Word into RH HTML. I'm now importing individual
    topics into a project I created in RH HTML. I opened both projects
    today, and the cursor appears as a pointer but, as soon as I move
    it, it becomes a flickering hour glass. Even stranger things happen
    when I try to scroll down the list of topics in the Project Manager
    pane...As soon as I release the left mouse button after scrolling,
    the cursor turns into an hour glass again, both vertical and
    horizontal scroll bars "flicker" (change in size, small to large to
    small, back and forth), and the project list goes back to the top.
    I cannot select a topic unless it's one of the first ten or so on
    the list (anything I can see without scrolling)!
    The scrolling problem only occurs with projects. I can scroll
    through the list of folders (Images, Multimedia, Style Sheets,
    etc.) just fine. These projects are large; one is about 300 topics
    now and the other is 1000. Is RH HTML having a problem with the
    project sizes? What size should the topics be? Any other ideas
    about what might be causing this?
    Lacona

    I have been having this problem for the last week with two of
    our projects. This has also happened previously in the last two
    months. I really believe for us the problem started when we decided
    to use RoboSource so two of us can work on the same project.
    RoboSource is not too great and caused us to loose work and have
    crashes a lot. Anyway, after we were convinced that the problem was
    RoboSource, we removed the projects from RS control. This created a
    new set of problems because RS did not release all the files.
    Long story short, with the projects out of RS, we had issues
    ranging from a project taking up to 30 minutes to load or not load
    at all, to once loaded every time you move the mouse the pointer
    turned into an hour glass and nothing could be worked on. Usually
    forcing us to Force Quit RoboHelp.
    After weeks of searching for solutions and not finding any,
    and weeks attempting to replace backed up files like the XPJ file
    and others. If we were lucky, we would leave it with the hour glass
    overnight and it might start working the next day. But after a few
    days the problem came back.
    Yesterday it occurred to me that it looked like the project
    opened but the hour glass was probably because it was looking for
    files it couldn't find. So I had this bright idea. I made a backup
    copy of the XPJ file and then I opened it using the Windows Notepad
    application. I noticed that the XPJ file called for 20 RH specific
    files to open. I checked to see if all these 20 files were
    available on the project folder. I found 17 of them but there was
    three that did not exist in the project folder. So I removed the
    lines asking for the three missing files and then closed and saved
    it. IF YOU DON'T KNOW WHAT YOU ARE DOING I WOULD NOT RECOMMEND
    DELETING ANYTHING FROM THESE FILES!!! YOU MUST BE SURE YOU ARE NOT
    ERASING IMPORTANT INFO.
    After closing and saving the file I opened the project again,
    it loaded in 45 seconds and it did the hourglass for about a minute
    or two, which I think it was updating the files. Then the hourglass
    went away and never came back. I closed the project and opened it
    again to confirm that it would work properly. It opened in 34
    seconds and no hourglass came up to delay anything. The issue is
    now gone on all our projects and they are working better than ever.
    I hope this helps anyone having this problem. REMEMBER TO
    BACKUP THE PROJECT BEFORE ATTEMPTING THIS...just in case it doesn't
    work as good for you...I only know of me doing this...

  • When a link is rolled over by the mouse pointer a very annoying pop up with the link address shows up. There seems to be no way to prevent this from happening. How can this pop up be made to go away?

    no matter what website, every time I move the mouse pointer over something to click on a line of black printing in a thin white box pops up at the bottom of the screen and shows me the http address of the item I'm about to click on. I want to shut this function off or remove it if possible. I find that the previous version did not do this, it seems to be unique to 6.0. It's VERY distracting and ANNOYING. How can I make it go away????

    When you hover the mouse cursor over any link, it will display the link details at the bottom left of the screen; black font on white background.
    This display can be very important as it shows the full address of the hyperlink. This can be particulary useful for checking on whether the link is bona-fida. For example; if you receive an email that looks like it is from a bank , hovering over the link will indicate instantly that the link is pretending to be something it isn't.
    Another example that can be useful; a website link may say 'contact me' rather than give the actual email address. However, when you hover over the link, the actual email address will be displayed at the bottom of the screen. If you click on the link then Outlook usually opens, however I do not use Outlook, so displaying the email address is useful.
    This display is something that has always been present and it is also displayed if you use IE.
    However, I can see that this annoys you, so you could try the following:
    [[https://addons.mozilla.org/en-US/firefox/addon/link-location-bar/?src=api]]
    After installing the addon, you will need to restart Firefox, then go to History and Restore previous session to get all your tabs and webpages back.
    You will now find that when you hover over any link, it will now display in your address bar on the right hand side.
    If this helps, please say this question has been solved.

Maybe you are looking for

  • How to delete a column from the table control in module pool?

    Hi,   can any one please tell How to delete a column from the table control in module pool? thanks in advance warm regards HareeshKumar N

  • Can not get Software Update to work in Mountain Lion, switches to App Store

    Can not get Software Update to work in Mountain Lion, switches to App Store

  • Weird query problem after upgrade to 10g

    After upgrading from 9i to 10g I've noticed that one query slowed down drastically (from 100[ms] to 30[s]) SELECT ... FROM first_table LEFT OUTER JOIN second_table ON ... WHERE first_table.number_column = '453' ... What's weird is the redundant apost

  • Delta changes in ORG..

    Hello Friends,    I have a requirement where i need to upload the ORG DELTA changes into SRM system from R/3. But there is no link between these systems.. As soon as there is change made in R/3 the changes will be download as FTP and I have to upload

  • Emailing images.

    Here's another way to email images at the size you want. 1. Create a new email in Mail and add address or addresses as needed 2. Position the new email on the screen so you can still see it while iPhoto9 is open 3. If you only want to email 1 image,