Changing a Mouse pointer

I would like to be able to change my mouse pointer to something other that what set_application_property cursor_style can do for me. I would like to be able to call a mouse pointer from the file system and replace the the pointer in my forms app.
Thanks in advance for any direction that can be given.

Guys...
I need some help!!
Was the question not clear??
Does it need a rephrasing???

Similar Messages

  • How can i change the mouse pointer image?

    Hi friends!!
    It's possible to change the mouse pointer image in Swing?
    Thanks a lot.

    There's a setCursor() method on the frame component.

  • I would suggest a new feature:The possibilty to change the mouse pointer icon when you hover on an a

    I would suggest a new feature:The possibilty  to change the mouse pointer icon when you hover on an active link by any other one icon I select.

    Current Firefox versions have a feature called tear-off tabs.<br />
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.<br />
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    bug489729 (Disable detach and tear off tab):
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

  • Changing the mouse pointer to a cursor?

    Hi,
    I am using a graph or perhaps a polar plot, not sure yet, but I realy wanted to know if there is any way to make the mouse pointer act like a cursor, such that I can click on something on the graph and know where the mouse clicked (the coordinates) and perhaps change the appearance of the hand to something else? So I DO NOT have to use a cursor. I want the user to just click and not have to drag a cursor around.

    Check out the Gtoolbox at gtoolbox.topcool.net. It has the functionality you are looking for.

  • 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);
    }

  • Changing mouse pointer using setCursor()

    Hi- I've got a single threaded JFrame-based application in which I want to change the mouse pointer to indicate 'busy' when it's doing stuff eg. loading a file. So within my extended JFrame method for handling menu selections I've got:
    public class Layout extends JFrame
        // For items in the main menu
        // (the sub-class contains either a JMenuItem or JCheckBoxMenuItem).
        abstract class MenuItem implements ActionListener
            abstract JMenuItem menuItemAbs(); // get the menu item component
            abstract void handlerAbs(); // perform the menu's action
            // Menu item has been selected.
            public void actionPerformed(ActionEvent e)
                Cursor cursor = Layout.this.getCursor();
                Layout.this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                handlerAbs();
                Layout.this.setCursor(cursor);
            }But the mouse pointer doesn't always change. If handler() just does some processing without user interaction, the pointer does change. But in the case of loading a file, where first the user selects the file using a JFileChooser, it doesn't.
    Is this because JFileChooser does its own setCursor()? But even if it does, presumably it does another setCursor() to restore my WAIT_CURSOR before it returns, so why don't I see the WAIT_CURSOR while the file is loading (which takes seconds)?
    Cheers
    John
    EDIT: BTW running under Linux, Java v6 update 7
    Edited by: matth1j on Nov 12, 2008 2:15 AM

    Ok, thanks - full demo program below.
    When you hit the ok button (just 5 second sleep), the mouse pointer changes to 'busy'. It reverts to normal if you move the pointer off the frame, but goes back to 'busy' if you move it back onto the frame.
    When you hit the bad button (brings up file chooser, then does 5 second sleep), the pointer changes to 'busy' while the pointer is over the frame, and reverts to normal when the pointer is moved off the frame. But if you select a file or cancel the file chooser and move the pointer back into the main frame before the 5 seconds is up, the pointer doesn't go back to 'busy' again. I would expect it to show 'busy' while over the frame until the 5 seconds is up.
    Any ideas?
    package test;
    import java.awt.Cursor;
    import java.awt.EventQueue;
    import java.awt.event.*;
    import javax.swing.*;
    public class Main
        public static void main(String[] args)
            EventQueue.invokeLater(new Runnable()
                public void run()
                    new Test();
    class Test extends JFrame
        public Test()
            super();
            this.setDefaultCloseOperation(EXIT_ON_CLOSE);
            JPanel panel = new JPanel();
            panel.add(new Button("ok"));
            panel.add(new Button("bad"));
            add(panel);
            pack();
            repaint();
            setVisible(true);
        class Button extends JButton implements ActionListener
            Button(String text)
                super(text);
                addActionListener(this);
            public void actionPerformed(ActionEvent e)
                Cursor cursor = Test.this.getCursor();
                Test.this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                if (!e.getActionCommand().equals("ok"))
                    (new JFileChooser()).showOpenDialog(null);
                try
                    Thread.sleep(5000);
                catch (Exception ex)
                    ex.printStackTrace();
                Test.this.setCursor(cursor);
    }Edited by: matth1j on Nov 12, 2008 2:44 AM code tidy
    Edited by: matth1j on Nov 12, 2008 2:45 AM code tidy

  • Changing mouse pointer

    I would like to be able to change my mouse pointer to something
    other that what set_application_property cursor_style can do for
    me. I would like to be able to call a mouse pointer from the
    file system and replace the the pointer in my forms app.
    Thanks in advance for any direction that can be given.
    Roland

    If your Mouse cursor is in a DLL you can do:
    Set_Application_Property(CURSOR_STYLE,'<DLLNAME>cursorname');
    For this to work you have to load the above DLL first using
    ORA_FFI.LOAD_LIBRARY().

  • Mouse pointer changes to Black & White circle!

    Hello everybody,
    I wrote this script and saved it as an app called "Sleep":
    tell application "Finder"
    eject disk "STORAGE"
    end tell
    tell application "System Events"
    sleep
    end tell
    tell application "Sleep"
    quit
    end tell
    This has worked perfectly except when the computer wakes, the mouse pointer is the black and white circle. Everything still works normally (I think), but it is really annoying.
    Is there anything that I can add to my script to change my mouse pointer back to normal?

    Hello
    Try removing the part telling your applet to quit, which is not necessary unless your applet is saved as stay-open.
    The modified script would look like:
    --SCRIPT
    tell application "Finder"
    eject disk "STORAGE"
    end tell
    tell application "System Events"
    sleep
    end tell
    --END OF SCRIPT
    Hope this may help,
    H

  • Mouse pointer size

    Hi,
      Is there a way to change the mouse pointer size, in Mountain Lion?  I've looked all over and can't find it.  These old eyes of mine need a big pointer.  If not, is there a third party software that will get it done?
          Thanks, Jerry

    You can change the size of the cursor in the "System Preferences > Accessibility" panel. Drag the "Cursor size" slider.

  • Capture selection mouse pointer flickering on mountain lion

    I have a ploblem with Capture selection command (Command + shift + 4) on Mountain Lion
    When I use this command, mouse pointer is flickering.
    It happens after install Mountain Lion over the Lion.
    Does anyone else experiencing a same problem?

    Your welcom Tim.
    Maybe we should help mr.k99 read the Title to the post.
    How do I change the mouse pointer size in Mountain Lion?

  • Mouse pointer position at start up

    I know this may seem beyond lazy but...
    Is there any way to change the mouse pointer position at startup? I would much prefer it to be in the middle of the screen rather than way in the topleft corner.
    One other question: I still think window minimize/maximize/close buttons (not sure what you would call them) that are on top left for apple and top right for PC are more conveniently located on the right side (and there really aren't many things I could honestly say I prefer about PC). May be it's just me but my pointer spends most of its time on the bottom and right side of the screen. Is there a way to change the position of the buttons?
    Sorry if this has been addressed before but I couldn't find it.

    The short answer to both of your questions is no.
    However, you may be able to use some sort of theme software that will allow you to change the position of the buttons by changing the appearance of the windows. There are, from what I understand, hundreds of themes that you can try. Maybe one of them will put the buttons on the other side of the window. You might check out Shape Shifter.
    http://www.unsanity.com/haxies/shapeshifter
    One caveat, Shape shifter is a system hack and as such may add some instability to the system.
    As for the position of the cursor I don't really know unless you can find some sort of third party program that will do it. You might take a look at Version Tracker and see if there is something there.

  • Mouse pointer effects, raining stars

    Hey!
    Sorry for my English, its not the best...
    Am making a webpage for my school-theater and the story is Peter Pan! The hole site is in Flash, and I've never done this before so its alot of pressure. One detail I really want to make perfect is changing the mouse pointer into the character Tinkerbell from the movie. The little yellow girl, with stars (or glowing dust) falling off. I want the same effect on my pointer, so it rains tiny stars down. And when you move it around you can see the trail of the mouse because of the stars. Its supposed to look like she is flying around!
    I know its kinds stupid and I dont got much experience in either webpages or Flash, but thought it might be cool. Is it really hard to program? Using CS4 with AC3. Thanks for the help in advance!

    no, it's not hard.
    you create a movieclip of tinkerbell and a movieclip of a few pixie-dust stars that fade in, fall, fade out and are removed.  make the pixie-dust stars a movieclip that plays from start to finish quickly.
    then use Mouse.hide() and create a loop so the tinkerbell movieclip's x,y is the same as your mouseX,mouseY.  also create a mousemove listener and listener function that adds your star movieclip to the stage at mouseX,mouseY each time the mousemove listener function is called.

  • T43p - Mouse pointer freezes after changing the battery to a new one

    Hello,
    I have bought a new battery for my IBM Thinkpad T43p. In the description of the new battery I have seen that this battery is compatible with T43 series. Battery details are: DC 10.8V 5200mAh/56Wh. Replace: 08K8214.
    My problem is:
    I have ordered a new battery for my Thinkpad T43p but when I turned off  the notebook and replace the old battery with the new one the notebook became strange. I use Windows XP Prof on this computer and when the login screen appeared and during I was typing my user name and password the mouse pointer was freezed and I had to turn off the computer. It was happened within approx 1 minute after the Login screen appeared. The symptom was the same with or without plugged in AC charger. I have tried several times and the same behavior was happened. When I changed back the old battery the computer became normal again without any freezing. The fan was working properly in both cases. The symptom is the same if I change the battery during AC charging and using Windows. 
    I don't have an idea about the reason of it. Can you help me with ideas?
    Thanks in advance,
    Slider

    Pull the battery out and run the machine on AC only. Does it freeze now?
    If it doesn't, the "new" battery needs to be replaced.
    Good luck.
    Cheers,
    George
    In daily use: R60F, R500F, T61, T410
    Collecting dust: T60
    Enjoying retirement: A31p, T42p,
    Non-ThinkPads: Panasonic CF-31 & CF-52, HP 8760W
    Starting Thursday, 08/14/2014 I'll be away from the forums until further notice. Please do NOT send private messages since I won't be able to read them. Thank you.

  • Why the mouse pointer in Logic Pro does not change shape during work in OSX 10.9.1?

    I've a MacBook Pro Retina 15-inch Late 2013 and I'm using two external displays. One connected to to the HDMI port (display 1) the other to thunderbolt (display 2). The MacBook display is closed. I’m working with Logic Pro 9.1.8 (32bit) with OSX 10.9.1
    Why the mouse pointer in Logic Pro does not change shape during work???
    It was already difficult with OSX 10.9 but now after upgrading to 10.9.1 it's game over!
    At least before I could select which display use Logic Pro to have all the shape functions of the pointer. Not in both displays, so to be forced to edit in ONLY ONE of the two displays using this workaround: (right click on Logic icon in Dock: Option --> Desktop on Display 1). Now or I select “Option --> All Desktops” or does not work. However, by selecting all displays you say goodbye to Mission Control. This can’t be a solution!!!
    The amazing thing is that Nuendo has no problem while Logic Pro, Apple's native software, it can't!
    With Nuendo it’s indifferent in which display you are working, the shape of the mouse pointer changes shape depending on the requirement in both displays.
    This thing drives me crazy!
    Solutions?
    Here some ideas in other foums:
    http://www.logicprohelp.com/forum/viewtopic.php?f=1&t=86264
    But this aren't really solutions but workarounds. Use Logic in all desktops makes Mission Control useless!!

    I installed all over again by formatting as suggested by the genes of pro application support. Each plug-in, each virtual instrument, a job that lasted 3 days. And as suggested for each new plug-in I proceeded to check the proper functioning of Logic Pro and did each time a back up with Time Machine.
    The Result:
    Logic works as it should ONLY on the primary monitor and ONLY on the first desktop.
    BUT
    Reason and Nuendo dont' have this issue !!
    I believe that Apple developers are thinking only to mobile phones and things like messages or face time.
    And that's not all!
    After a few weeks, perhaps by installing a version of Adobe Acrobat, I say maybe because I'm not sure, logic has stopped working properly. Again problems with the mouse pointer.
    Luckily I had a back up! But now I'm terrified to install new programs. Thanks Apple!

  • Change mouse pointer over selected text

    I have a JTextArea and i want to change the default mouse pointer to the arrow pointer when the user points to a selected text. Just like the way JCreator works.!
    Thanx

    Try this :
    Cursor textCursor = new Cursor(Cursor.TEXT_CURSOR);
    Cursor arrowCursor = new Cursor(Cursor.DEFAULT_CURSOR );
    textArea.setCursor(textCursor);
    textArea.addMouseMotionListener(new MouseMotionAdapter() {
         public void mouseMoved(MouseEvent e) {
              int location = textArea.viewToModel(e.getPoint());
              if (textArea.getSelectionStart()<=location && location<textArea.getSelectionEnd()) {
                   if (textArea.getCursor() != arrowCursor) {
                        textArea.setCursor(arrowCursor);
              else {
                   if (textArea.getCursor()==arrowCursor) {
                        textArea.setCursor(textCursor);
    });I hope this helps,
    Denis

Maybe you are looking for

  • How to create new Sheet in Excel file and write into it

    Hi to all, my requirement is this: I have an excel file (.xls) with multiple sheets (three sheets for precision: sheet1, sheet2 and sheet3). I must create in the same excel file new sheet, say sheet4, read data from sheet1, sheet2 and sheet3 and writ

  • SQL Server 2000 Error Message

    I got the below error message: The description for Event ID ( 17055 ) in Source ( MSSQLSERVER ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display the messages from a remote computer. T

  • Do I need to get VZ Navigator or does it come with it?

    I really wish that I had a manual in hand. There's no search option on a PDF and you can't be calling Verizon with every little question

  • What video cameras are compatible with Final Cut Express?

    I live in Japan and was thinking of buying a Victor " Full High Definition" video camera (1920x1080). The only thing I was warned about by the salesperson is that unless I have a Blue-Ray DVD recorder/player, I will never be able to enjoy true Full H

  • Adobe Illustrator CS3 swatch folders - I seem to have two?

    I notice that I have two swatch folders. One appears in: C:\Documents and settings\all users\Application data\Adobe Illustrator CS3 settings\Swatches The other in: C:\Program files\Adobe\Adobe Illustrator CS3\Presets\Swatches Why are there two differ