A rectangle around my mouse cursor

Since the last two days a rectangle around my mouse cursor is appearing. When i move my mouse and as it touches the wall of the rectangle it also moves and so my mouse cursor never comes out of that rectangle. Incidently when i login using a different account, i don't see this rectangle. It must be a program, i hope it should not be virus.
Any solution please ?

System preferences --> Universal Access --> Zoom Options button --> set maximum zoom to far left and/or uncheck the "Show prieview rectangle when zoomed out" checkbox
Update:
Here's a X Lab article on this topic:
Black rectangle appears after Mac OS X 10.4.8 Update

Similar Messages

  • New Install - startx results in blank screen with mouse cursor

    I installed Arch on my desktop last week with no issues, so I wanted to install it on an old THinkpad R31. Everything with the installation went smooth, but when I try to 'startx' all I get is a blank screen with a mouse cursor that I can move around. I've installed xorg-xinit, xorg-twm, xorg-xclock, and xterm.
    I'm not getting any significant errors in the logs, or even the terminal I issue 'startx' in.
    I'm not sure what the problem could be...
    Here is my output from 'startx'
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.6.0-1-ARCH i686
    Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    Build Date: 05 October 2012 02:01:30PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    xinit: connection to X server lost
    waiting for X server to shut down XIO: fatal IO error 0 (Success) on X server ":0"
    after 554 requests (554 known processed) with 0 events remaining.
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"
    Server terminated successfully (0). Closing log file.
    xinit: unexpected signal 2
    And my Xorg.0.log
    [ 4955.478]
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    [ 4955.479] X Protocol Version 11, Revision 0
    [ 4955.479] Build Operating System: Linux 3.6.0-1-ARCH i686
    [ 4955.479] Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    [ 4955.479] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    [ 4955.479] Build Date: 05 October 2012 02:01:30PM
    [ 4955.479]
    [ 4955.479] Current version of pixman: 0.26.2
    [ 4955.479] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 4955.479] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4955.480] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 13 09:26:12 2012
    [ 4955.480] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 4955.480] (==) No Layout section. Using the first Screen section.
    [ 4955.480] (==) No screen section available. Using defaults.
    [ 4955.480] (**) |-->Screen "Default Screen Section" (0)
    [ 4955.480] (**) | |-->Monitor "<default monitor>"
    [ 4955.481] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 4955.481] (==) Automatically adding devices
    [ 4955.481] (==) Automatically enabling devices
    [ 4955.481] (==) Automatically adding GPU devices
    [ 4955.481] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 4955.481] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 4955.481] Entry deleted from font path.
    [ 4955.481] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 4955.481] (==) FontPath set to:
    /usr/share/fonts/misc/
    [ 4955.481] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 4955.481] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 4955.481] (II) Loader magic: 0x825a620
    [ 4955.482] (II) Module ABI versions:
    [ 4955.482] X.Org ANSI C Emulation: 0.4
    [ 4955.482] X.Org Video Driver: 13.0
    [ 4955.482] X.Org XInput driver : 18.0
    [ 4955.482] X.Org Server Extension : 7.0
    [ 4955.484] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4955.486] (--) PCI:*(0:0:2:0) 8086:3577:1014:0505 rev 4, Mem @ 0x98000000/134217728, 0x90100000/524288
    [ 4955.486] (--) PCI: (0:0:2:1) 8086:3577:1014:0505 rev 0, Mem @ 0x88000000/134217728, 0x80200000/524288
    [ 4955.486] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 4955.486] Initializing built-in extension Generic Event Extension
    [ 4955.486] Initializing built-in extension SHAPE
    [ 4955.486] Initializing built-in extension MIT-SHM
    [ 4955.486] Initializing built-in extension XInputExtension
    [ 4955.486] Initializing built-in extension XTEST
    [ 4955.486] Initializing built-in extension BIG-REQUESTS
    [ 4955.486] Initializing built-in extension SYNC
    [ 4955.487] Initializing built-in extension XKEYBOARD
    [ 4955.487] Initializing built-in extension XC-MISC
    [ 4955.487] Initializing built-in extension SECURITY
    [ 4955.487] Initializing built-in extension XINERAMA
    [ 4955.487] Initializing built-in extension XFIXES
    [ 4955.487] Initializing built-in extension RENDER
    [ 4955.487] Initializing built-in extension RANDR
    [ 4955.487] Initializing built-in extension COMPOSITE
    [ 4955.487] Initializing built-in extension DAMAGE
    [ 4955.487] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4955.487] Initializing built-in extension DOUBLE-BUFFER
    [ 4955.487] Initializing built-in extension RECORD
    [ 4955.487] Initializing built-in extension DPMS
    [ 4955.487] Initializing built-in extension X-Resource
    [ 4955.487] Initializing built-in extension XVideo
    [ 4955.487] Initializing built-in extension XVideo-MotionCompensation
    [ 4955.487] Initializing built-in extension XFree86-VidModeExtension
    [ 4955.487] Initializing built-in extension XFree86-DGA
    [ 4955.487] Initializing built-in extension XFree86-DRI
    [ 4955.487] Initializing built-in extension DRI2
    [ 4955.487] (II) LoadModule: "glx"
    [ 4955.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 4955.489] (II) Module glx: vendor="X.Org Foundation"
    [ 4955.489] compiled for 1.13.0, module version = 1.0.0
    [ 4955.489] ABI class: X.Org Server Extension, version 7.0
    [ 4955.489] (==) AIGLX enabled
    [ 4955.489] Loading extension GLX
    [ 4955.489] (==) Matched intel as autoconfigured driver 0
    [ 4955.489] (==) Matched intel as autoconfigured driver 1
    [ 4955.489] (==) Matched vesa as autoconfigured driver 2
    [ 4955.489] (==) Matched modesetting as autoconfigured driver 3
    [ 4955.489] (==) Matched fbdev as autoconfigured driver 4
    [ 4955.489] (==) Assigned the driver to the xf86ConfigLayout
    [ 4955.489] (II) LoadModule: "intel"
    [ 4955.490] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 4955.491] (II) Module intel: vendor="X.Org Foundation"
    [ 4955.491] compiled for 1.13.0, module version = 2.20.9
    [ 4955.491] Module class: X.Org Video Driver
    [ 4955.491] ABI class: X.Org Video Driver, version 13.0
    [ 4955.491] (II) LoadModule: "vesa"
    [ 4955.491] (WW) Warning, couldn't open module vesa
    [ 4955.491] (II) UnloadModule: "vesa"
    [ 4955.492] (II) Unloading vesa
    [ 4955.492] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 4955.492] (II) LoadModule: "modesetting"
    [ 4955.492] (WW) Warning, couldn't open module modesetting
    [ 4955.492] (II) UnloadModule: "modesetting"
    [ 4955.492] (II) Unloading modesetting
    [ 4955.492] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 4955.493] (II) LoadModule: "fbdev"
    [ 4955.493] (WW) Warning, couldn't open module fbdev
    [ 4955.493] (II) UnloadModule: "fbdev"
    [ 4955.493] (II) Unloading fbdev
    [ 4955.493] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 4955.493] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
    Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
    Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
    Haswell Server (GT2+), Haswell SDV Desktop (GT1),
    Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
    Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
    Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
    Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
    Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
    Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
    Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
    Haswell ULT Server (GT1), Haswell ULT Server (GT2),
    Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
    Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
    Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
    Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
    Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
    ValleyView PO board
    [ 4955.496] (--) using VT number 7
    [ 4955.508] (II) intel(0): using device path '/dev/dri/card0'
    [ 4955.509] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4955.509] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 4955.509] (==) intel(0): RGB weight 888
    [ 4955.509] (==) intel(0): Default visual is TrueColor
    [ 4955.509] (--) intel(0): Integrated Graphics Chipset: Intel(R) i830M
    [ 4955.509] (**) intel(0): Relaxed fencing disabled
    [ 4955.509] (**) intel(0): Wait on SwapBuffers? enabled
    [ 4955.509] (**) intel(0): Triple buffering? enabled
    [ 4955.509] (**) intel(0): Framebuffer tiled
    [ 4955.510] (**) intel(0): Pixmaps tiled
    [ 4955.510] (**) intel(0): 3D buffers tiled
    [ 4955.510] (**) intel(0): SwapBuffers wait enabled
    [ 4955.510] (==) intel(0): video overlay key set to 0x101fe
    [ 4955.593] (II) intel(0): Output VGA1 has no monitor section
    [ 4955.593] (II) intel(0): Output LVDS1 has no monitor section
    [ 4955.594] (--) intel(0): found backlight control interface /sys/class/backlight/thinkpad_screen
    [ 4955.676] (II) intel(0): EDID for output VGA1
    [ 4955.677] (II) intel(0): Printing probed modes for output VGA1
    [ 4955.677] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
    [ 4955.677] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
    [ 4955.677] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz e)
    [ 4955.677] (II) intel(0): Modeline "848x480"x60.0 33.75 848 864 976 1088 480 486 494 517 +hsync +vsync (31.0 kHz e)
    [ 4955.677] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
    [ 4955.677] (II) intel(0): EDID for output LVDS1
    [ 4955.677] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4955.677] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 4955.678] (II) intel(0): Printing probed modes for output LVDS1
    [ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 +hsync +vsync (48.4 kHz P)
    [ 4955.678] (II) intel(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz d)
    [ 4955.678] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 4955.678] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 4955.678] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 4955.678] (II) intel(0): Output VGA1 connected
    [ 4955.678] (II) intel(0): Output LVDS1 connected
    [ 4955.678] (II) intel(0): Using exact sizes for initial modes
    [ 4955.678] (II) intel(0): Output VGA1 using initial mode 1024x768
    [ 4955.678] (II) intel(0): Output LVDS1 using initial mode 1024x768
    [ 4955.678] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 4955.678] (II) intel(0): Kernel page flipping support detected, enabling
    [ 4955.678] (==) intel(0): DPI set to (96, 96)
    [ 4955.678] (II) Loading sub module "fb"
    [ 4955.678] (II) LoadModule: "fb"
    [ 4955.679] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 4955.679] (II) Module fb: vendor="X.Org Foundation"
    [ 4955.679] compiled for 1.13.0, module version = 1.0.0
    [ 4955.679] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4955.679] (II) Loading sub module "dri2"
    [ 4955.679] (II) LoadModule: "dri2"
    [ 4955.680] (II) Module "dri2" already built-in
    [ 4955.680] (==) Depth 24 pixmap format is 32 bpp
    [ 4955.680] (II) intel(0): [DRI2] Setup complete
    [ 4955.680] (II) intel(0): [DRI2] DRI driver: i915
    [ 4955.680] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
    [ 4955.680] (II) UXA(0): Driver registered support for the following operations:
    [ 4955.680] (II) solid
    [ 4955.680] (II) copy
    [ 4955.680] (II) composite (RENDER acceleration)
    [ 4955.680] (II) put_image
    [ 4955.680] (II) get_image
    [ 4955.680] (==) intel(0): Backing store disabled
    [ 4955.680] (==) intel(0): Silken mouse enabled
    [ 4955.681] (II) intel(0): Initializing HW Cursor
    [ 4955.681] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 4955.684] (==) intel(0): DPMS enabled
    [ 4955.684] (==) intel(0): Intel XvMC decoder disabled
    [ 4955.684] (II) intel(0): Set up overlay video
    [ 4955.684] (II) intel(0): direct rendering: DRI2 Enabled
    [ 4955.684] (==) intel(0): hotplug detection: "enabled"
    [ 4955.983] (--) RandR disabled
    [ 4956.021] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 4956.021] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context
    [ 4956.021] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 4956.021] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 4956.021] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 4956.021] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 4956.021] (II) AIGLX: Loaded and initialized i915
    [ 4956.022] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 4956.023] (II) intel(0): Setting screen physical size to 270 x 203
    [ 4956.124] (II) config/udev: Adding input device Power Button (/dev/input/event4)
    [ 4956.124] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 4956.124] (II) LoadModule: "evdev"
    [ 4956.124] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 4956.125] (II) Module evdev: vendor="X.Org Foundation"
    [ 4956.125] compiled for 1.13.0, module version = 2.7.3
    [ 4956.125] Module class: X.Org XInput Driver
    [ 4956.125] ABI class: X.Org XInput driver, version 18.0
    [ 4956.125] (II) Using input driver 'evdev' for 'Power Button'
    [ 4956.125] (**) Power Button: always reports core events
    [ 4956.125] (**) evdev: Power Button: Device: "/dev/input/event4"
    [ 4956.126] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 4956.126] (--) evdev: Power Button: Found keys
    [ 4956.126] (II) evdev: Power Button: Configuring as keyboard
    [ 4956.126] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
    [ 4956.126] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 4956.126] (**) Option "xkb_rules" "evdev"
    [ 4956.126] (**) Option "xkb_model" "evdev"
    [ 4956.126] (**) Option "xkb_layout" "us"
    [ 4956.197] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
    [ 4956.198] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 4956.198] (II) Using input driver 'evdev' for 'Video Bus'
    [ 4956.198] (**) Video Bus: always reports core events
    [ 4956.198] (**) evdev: Video Bus: Device: "/dev/input/event2"
    [ 4956.198] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 4956.198] (--) evdev: Video Bus: Found keys
    [ 4956.198] (II) evdev: Video Bus: Configuring as keyboard
    [ 4956.198] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A03:00/LNXVIDEO:00/input/input2/event2"
    [ 4956.198] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 4956.198] (**) Option "xkb_rules" "evdev"
    [ 4956.198] (**) Option "xkb_model" "evdev"
    [ 4956.198] (**) Option "xkb_layout" "us"
    [ 4956.200] (II) config/udev: Adding input device Lid Switch (/dev/input/event3)
    [ 4956.200] (II) No input driver specified, ignoring this device.
    [ 4956.200] (II) This device may have been added with another device file.
    [ 4956.201] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
    [ 4956.201] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 4956.201] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 4956.202] (**) Sleep Button: always reports core events
    [ 4956.202] (**) evdev: Sleep Button: Device: "/dev/input/event1"
    [ 4956.202] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 4956.202] (--) evdev: Sleep Button: Found keys
    [ 4956.202] (II) evdev: Sleep Button: Configuring as keyboard
    [ 4956.202] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
    [ 4956.202] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
    [ 4956.202] (**) Option "xkb_rules" "evdev"
    [ 4956.202] (**) Option "xkb_model" "evdev"
    [ 4956.202] (**) Option "xkb_layout" "us"
    [ 4956.204] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4956.205] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 4956.205] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 4956.205] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 4956.205] (**) AT Translated Set 2 keyboard: always reports core events
    [ 4956.205] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 4956.205] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 4956.205] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 4956.205] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 4956.205] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
    [ 4956.205] (**) Option "xkb_rules" "evdev"
    [ 4956.206] (**) Option "xkb_model" "evdev"
    [ 4956.206] (**) Option "xkb_layout" "us"
    [ 4956.208] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event6)
    [ 4956.208] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
    [ 4956.208] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
    [ 4956.208] (**) TPPS/2 IBM TrackPoint: always reports core events
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event6"
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
    [ 4956.208] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
    [ 4956.208] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
    [ 4956.208] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 4956.208] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6"
    [ 4956.208] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 10)
    [ 4956.209] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
    [ 4956.209] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
    [ 4956.210] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse0)
    [ 4956.210] (II) No input driver specified, ignoring this device.
    [ 4956.210] (II) This device may have been added with another device file.
    [ 4956.211] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
    [ 4956.211] (II) No input driver specified, ignoring this device.
    [ 4956.211] (II) This device may have been added with another device file.
    [ 4956.213] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
    [ 4956.213] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
    [ 4956.213] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
    [ 4956.213] (**) ThinkPad Extra Buttons: always reports core events
    [ 4956.213] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event7"
    [ 4956.214] (--) evdev: ThinkPad Extra Buttons: Vendor 0x1014 Product 0x5054
    [ 4956.214] (--) evdev: ThinkPad Extra Buttons: Found keys
    [ 4956.214] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
    [ 4956.214] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event7"
    [ 4956.214] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 11)
    [ 4956.214] (**) Option "xkb_rules" "evdev"
    [ 4956.214] (**) Option "xkb_model" "evdev"
    [ 4956.214] (**) Option "xkb_layout" "us"
    [ 4960.630] (II) AIGLX: Suspending AIGLX clients for VT switch
    [ 4964.186] (II) evdev: ThinkPad Extra Buttons: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: TPPS/2 IBM TrackPoint: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: AT Translated Set 2 keyboard: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: Sleep Button: Close
    [ 4964.189] (II) UnloadModule: "evdev"
    [ 4964.189] (II) evdev: Video Bus: Close
    [ 4964.190] (II) UnloadModule: "evdev"
    [ 4964.190] (II) evdev: Power Button: Close
    [ 4964.190] (II) UnloadModule: "evdev"
    [ 4964.192] Server terminated successfully (0). Closing log file.

    karol wrote:
    Leonid.I wrote:@0x001A4:
    To run twm, you need to install xorg-twm from [extra] (I am not sure if it installs by default). Do you have xterm installed?
    According to his first post he has both xorg-twm and xterm installed.
    I do indeed.
    I went ahead and installed LXDE anyways, just to see what would happen. Exact same thing, it looks like everything is about to load but only the mouse cursor shows up. My Xorg.0.log is the same, so I won't post it again.
    I do get an error in the console about the openbox menu.xml file missing but I doubt that's related.
    X.Org X Server 1.13.0
    Release Date: 2012-09-05
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.6.0-1-ARCH i686
    Current Operating System: Linux x_00294-ibc 3.5.6-1-ARCH #1 SMP PREEMPT Sun Oct 7 19:33:50 CEST 2012 i686
    Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ec6a9a60-8d8c-4de0-960b-9e2a044d0ca5 ro quiet
    Build Date: 05 October 2012 02:01:30PM
    Current version of pixman: 0.26.2
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Oct 15 18:12:28 2012
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    Initializing built-in extension Generic Event Extension
    Initializing built-in extension SHAPE
    Initializing built-in extension MIT-SHM
    Initializing built-in extension XInputExtension
    Initializing built-in extension XTEST
    Initializing built-in extension BIG-REQUESTS
    Initializing built-in extension SYNC
    Initializing built-in extension XKEYBOARD
    Initializing built-in extension XC-MISC
    Initializing built-in extension SECURITY
    Initializing built-in extension XINERAMA
    Initializing built-in extension XFIXES
    Initializing built-in extension RENDER
    Initializing built-in extension RANDR
    Initializing built-in extension COMPOSITE
    Initializing built-in extension DAMAGE
    Initializing built-in extension MIT-SCREEN-SAVER
    Initializing built-in extension DOUBLE-BUFFER
    Initializing built-in extension RECORD
    Initializing built-in extension DPMS
    Initializing built-in extension X-Resource
    Initializing built-in extension XVideo
    Initializing built-in extension XVideo-MotionCompensation
    Initializing built-in extension XFree86-VidModeExtension
    Initializing built-in extension XFree86-DGA
    Initializing built-in extension XFree86-DRI
    Initializing built-in extension DRI2
    Loading extension GLX
    Openbox-Message: Unable to find a valid menu file "/usr/share/lxde/openbox/menu.xml"
    xinit: connection to X server lost
    waiting for X server to shut down pcmanfm: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
    XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
    after 2326 requests (2323 known processed) with 0 events remaining.
    Server terminated successfully (0). Closing log file.
    xinit: unexpected signal 2
    .xinitrc for my user
    exec ck-launch-session startlxde
    Very wierd.

  • G570 USB mouse cursor freezing constantly

    The problem will be explained lower but let me tell you how this was.
    So I've had this problem like 1,5 years ago, after I bought the laptop. So I bought a cheap mouse for it back then, and I noticed that the laptop had problems with the USB mouse, fine, I thought it was the poor mouse, so I bought another cheap one, and it worked fine. Then I bought a gamepad, and again, this problem.
    Today I bought a gaming mouse, and the problem re-appeared. I've been searching through the internet all day long.
    Basically, the mouse cursor freezes constantly, also with that "plugged-unplugged" sound, but the touchpad works.
    I've been looking all around, tried the mouse on another laptop and it works fine.
    I've tried:
    - Starting the laptop in safe mode.
    - Uninstalling/reinstalling the realtek USB reader or w/e its name is.
    - The device manager trick (I think you know what I'm talking about)
    - Been changing the OS many times after I bought the laptop, that problem persisted with the gamepad.
    - Tried different ports around the laptop.
    None of them helped. BUT, I saw that actually it hangs when the CPU is throttling. I've changed my power plan to energy saver and the problem went away. I've changed the maximum/minimum CPU power, the problem went away.
    But the frequency sets constantly at 800 MHz. What can I do to keep it at 2200 MHz (i3-2330M clock speed) and also keep the mouse working well?

    Hey Barrett_killz,
      Welcome to the forums
    I would suggest you trying out a different USB mouse and see if that helps
    Cant suggest anything else as you have already uninstalled and installed the Drivers
    keep me posted
    Lets make 2015 the year of the #DO
    Did I or someone help you today? Press the star on the left to thank them with a Kudo!

  • Windows Vista and Windows 7 Only Boots to a black screen with a mouse cursor

    Windows Vista and Windows 7 Only Boots to  a black screen with a mouse cursor after I installed Mcafee Internet Security.
    Hi I installed 1of 3 McAfee Internet Security protections on my HP laptop a few weeks ago with no issues. I Have a Dell XPS 420 desk top with Windows Vista operating
    system, it’s never had any issues, until 2 nights ago I installed McAfee Internet Security (detected incompatible files and will remove) pc now only boots up to a black screen with a mouse cursor, it will show the windows logo and a hash symbol floating around
    the screen. Now 2 weeks ago I installed the same program on my Dell all in one desk top with Windows 7, the same issue happen but that pc has no screen activity, I tried a back to factory reboot on this one, still black screen. 

    Hi,
    Please install the compatible version of McAfee Internet Security:
    http://home.mcafee.com/store/internet-security
    if you have startup issue, you can boot into Safe Mode to uninstall the problematic software to go back into Windows.
    Alex Zhao
    TechNet Community Support

  • How to cure unstable mouse cursor ?

    After installing Snow Leopard I've had problems with the mouse cursor flying wildly to the edge of the screen, which makes retouching photos very difficult. Does anyone have any suggestions?

    Have you checked Systems Prefs > Mouse, to see if the settings are as they should be?   Especially, tracking, double click, scrolling etc which I have set around the middle of the slide bar, but you may prefer differently.

  • Black border around my mouse pointer

    Since a few days, I have a thick black border around my mouse pointer, always following the movement of the pointer. How can I bring this away?
    Thanks for help
    Ueli

    Welcome to Discussions - you need to go to System Prefs>Universal Access>Zoom, turn it OFF and make sure, that under Zoom options "show preview rectangle" is UNchecked.
    Please post back and tell us if this works,
    Miriam

  • Extreme mouse cursor lag when using Accessibility Zoom (Fullscreen) in Yosemite

    I have a Retina MacBook Pro running OS X Yosemite (10.10), clean installed, connected to an external Thunderbolt Display. When I zoom in using Accessibility, I experience a very prominent lag, moving my mouse cursor (either with my Magic Mouse or Magic Trackpad or the built-in Trackpad) around or when zooming out. It is especially visible when zoomed in on applications like Calendar and Mail. This never happened in Mavericks. My settings are as follows.
    I've tried creating a new user account on my Mac and the problem still persists, which leads me to believe it's a bug with Yosemite.
    Anyone else have the same problem?

    I also have the same exact problem. I have a i5 iMac Mid 2011 with an upgrade to 10.10 Yosemite connected to an external display. I like you never had this issue with Mavericks. Zoom is so painfully slow now that I had to disable it. My iMac has 12 GB of RAM and even with no apps opened, zoom is killer slow.. makes me want to punch a wall-kinda slow.
    I think it's clear to say that something is up with 10.10.. some bug.
    Apple please fix us zoomers

  • No mouse cursor in Airplay

         I have a few accounts on my Mac (Mavericks) that I use to train, operating my Mac with Airplay mirroring for demonstration.  While in my primary account, Airplay (AppleTV3) works fine.  Until recently it also worked fine while in my other accounts (all Admins).
         About a month ago, Airplay with the secondary accounts no longer shows the mouse cursor.  I can see the effects of the mouse (Dock magnifies, apps still open, etc.), but I can't see the actual cursor moving around the screen.  My primary account continues to show the cursor during Airplay.
        I created a new user account (Admin), and the new user account also is missing the cursor during Airplay.  Updated all software, restored the AppleTV.  Thought about rebuilding plists, but don't understand why a brand new user account would still have problems.
         Any ideas?
         Bill

    Any Solutions? 
    I have the exact same issue.  My primary account has a cursor no problem.  I even went and bought a new AppleTV3 instead of my AppleTV2 and still same issue. 

  • No mouse cursor during Windows 8.1 OSD

    Hi,
    I have a problem that is bugging me. Not really a biggie but a frustrating one.
    When deploying Windows 8.1 using a MDT 2013 TS from CM12R2 the mouse cursor gets disabled when the OS reboots into minisetup/windows.
    As long as the TS is in WinPE all is fine, but once rebooted the cursor goes away and comes back only when the TS completes.
    The mouse is enabled as I can fool around with it and find where it is by clicking like a madman until a window gets highlighted.
    Deploying different DELL workstations/laptops, all with the same symptom.
    BR /T

    To my knowledge this is simply because of the Z-ordering of the windows during Windows setup.
    The question though is why does it matter? You shouldn't be doing anything interactive a this point in the TS.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Programmatically change mouse cursor size

    LV 8.5 on Windows XP
    Is there a way to change the size of the mouse cursor (custom or otherwise) programmatically? I can load custom cursors using included vi's but can't find a way to change the size - the cursor vi's are locked so I don't know what is going on behind them.
    Thanks

    smercurio,
    I had found that thread but the API example is written in 5.1, unfortunately I have wiped this machine several times since running 7.1 and would rather not reinstall if I can avoid it. (As I understand it 7.X can open the 5.X and THEN I can open in 8.X)
    I will look around for a machine running 7 and go from there but any other suggestions would be appreciated.
    Thanks again!
    -Jolt

  • Can I use an animated symbol acting like a mouse cursor?

    Hi,
    I'd like to use an EDGE animated symbol ( a blinking magic wand) as my mouse cursor (hiding the original cursor) that stays on the stage all the time at a certain point in the timeline and when clicked on a hotspot, goes to another point in timeline where the symbol no longer act as a mouse cursor. I used the following code suggested in the following thread by YOSHIOKA Ume
    Re: How to I have an animated symbol follow the coordinates of the cursor when clicked?
    1:create a symbol named "Symbol_1"
    2:add this code on Symbol_1-Timeline.complete.
    //delete this instance when timeline complete. sym.deleteSymbol();
    3:add this code on document.compositionReady.
    //on/off mousemove event handler method
    sym.$("Stage")  
    .mouseover(function(){    
    sym.$("Stage").on("mousemove",draw);  
    //create instance of Symbol_1 on stage.
    function draw(evt){  
    var instance = sym.createChildSymbol("Symbol_1", "Stage");  
    instance.getSymbolElement().css({    
    position:"absolute",    
    top:evt.clientY,    
    left:evt.clientX   });
    But the problem is, the symbol is being repeated/drawn one after another according to the above code, which I don't want. Changing the cursor using CSS requires a URL of a image file, not a symbol inside EDGE as it seems. How can I get back the normal mouse cursor in another point in the timeline (and go back to the animated symbol mode again if needed?). If I click on another hotspot element on the stage, do I actually click on the attached symbol as a cursor? Or the hotspot?
    Also, how can I put a constraint on the cursor so that it stays within a certain rectangular area smaller than the stage?
    A suggestion is much appreciated.

    Here is a example I had to move a symbol around as a mouse cursor and play different part of the symbol timeline based on user action.
    mouseCursor.zip - Google Drive
    To constraint the symbol to stage area,check for the x and y values in the event callback function before moving the symbol.
    To get back the normal cursor set the css back to default
    ex: sym.getSymbol('Stage').getSymbolElement().css({ 'cursor' : 'default'});

  • My screen keeps moving around with the cursor?

    HI everyone out there. i just got back from my 2 week honeymoon and had my G5 power mac, with a 27inch cinema display powered off the whole time. I turned it on and the screen is zoomed out a little bit. and when I move the mouse cursor around the screen image moves around with it as much as an inch or so. Did I catch a virus? or is there a setting my house guests might have touched, even though i am pretty sure they were not on it at all? Any help will do. I am updating the software right now to make sure it isn't that.

    You've inadvertently hit the key combination for screen zoom, probably. Go into System Preferences -> Universal Access and turn off the zoom function.
    Or, Command-Option-hyphen will unzoom the screen, and Command-option-equals will zoom (which is probably what got accidentally typed).

  • Keep mouse cursor in applet box

    Hi,
    I could really use some help with this one. I need to prevent my mouse cursor from being able to leave the applet box. I have treid doing this with final int's setting the limit for the max and min range of mouse movement but no joy. Please help.....I'm just a beginner!!

    I dont know anything about JNI yet but I will take a look though. I also think I need to explain again cos I really said it all wrong. What I meant was, I'm trying to create a situation where my existing applet which has a small box within it that takes char arguments and displays one char at a time, and can move it around the applet box with the cursor keys; can not go outside of the applet box. I am now almost there I think, I have just missed something out somewhere.
    Sorry for my lack of clarity, I ought to learn english first I think...

  • Adobe Mouse Cursors (Pointers)

    I am writing because I just encountered a "problem" with Captivate and I was wondering if anyone could help me.
    I've been working on some Adobe InDesign software simulation modules and Captivate isn't showing the correct mouse cursors (pointers) on the pointer paths.
    This is especially crucial when dealing with other Adobe applications that have such a wide array of mouse cursors for each tool.
    Do you know if Adobe has published a set of "Adobe cursors" to use with Captivate?  If not, would you recommend a way of working around it?
    Thanks in advance.

    Thanks for your answer!
    I know that is how I can change the cursors, but in the selections from where I could choose from there are none of the mouse pointers I need to use. 
    I am specifically looking for the Adobe tools mouse pointers, to work with Adobe software simulations.
    For example: the pen tool pointer from Photoshop, the line tool pointer in Illustrator, or the text tool pointer in InDesign, among many others.

  • How to create magnification effect around the mouse.

    Hi everybody,
    I have a problem which really freaks me out at the moment. I am working on an image sorting software and I try to implement a magnification glass. The problem seems to be easy: Create the Region OF Interest, "zoom" in ,display result at the MousePosition. I got it so far:
    bimage is a BufferedImage
                            Graphics2D gi = bimage.createGraphics();
                            gi.setClip(0, 0, bimage.getWidth(), bimage.getHeight());
                   gi.drawImage(bimage, 0, 0, null);
                   //paints red rectangle around mouse position
                   gi.setColor(Color.blue);
                   gi.draw(new Rectangle(mousePosX-100, mousePosY-100, 200, 200));
                   Rectangle zoomRect = new Rectangle(mousePosX-100, mousePosY-100, 200,     200);
                   gi.setClip(zoomRect);
                   gi.copyArea(mousePosX-100, mousePosY-100, 200,     200, 0, 0);
                   gi.scale(1.1, 1.1);
                   gi.translate(-20, -20);
                   gi.drawImage(bimage, 0, 0, null);What happens is, that as soon as I translate it to the right position, the copy area copy's the scaled copy and so on. It looks horrible. Does anyone knows how to make it better?
    Thx in advance.

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    public class Magnifier extends JPanel implements ActionListener {
        OverlayComponent overlayComponent;
        public void actionPerformed(ActionEvent e) {
            boolean magnify = ((AbstractButton)e.getSource()).isSelected();
            overlayComponent.setMagnify(magnify);
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            int cols = 3, rows = 3, pad = 20;
            int w = getWidth(), h = getHeight();
            double dx = (double)(w - 2*pad)/cols;
            double dy = (double)(h - 2*pad)/rows;
            // Draw ovals.
            Color[] colors = {
                Color.cyan, Color.magenta, Color.yellow, Color.orange
            for(int j = 0, count = 0; j < rows; j++) {
                double y = pad + j*dy;
                for(int k = 0; k < cols; k++) {
                    double x = pad + k*dx;
                    int index = j*cols + k;
                    Color color = (index % 2 == 0) ? Color.blue
                                                   : colors[count++];
                    if(count > 3) count = 0;
                    g2.setPaint(color);
                    g2.fill(new Ellipse2D.Double(x, y, dx, dy));
            // Draw grid.
            g2.setPaint(Color.red);
            for(int j = 0; j <= rows; j++) {
                double y = pad + j*dy;
                g2.draw(new Line2D.Double(pad, y, w-pad, y));
            for(int j = 0; j <= cols; j++) {
                double x = pad + j*dx;
                g2.draw(new Line2D.Double(x, pad, x, h-pad));
        private JPanel getContent() {
            overlayComponent = new OverlayComponent(this);
            JPanel panel = new JPanel();
            OverlayLayout overlay = new OverlayLayout(panel);
            panel.setLayout(overlay);
            panel.add(overlayComponent);
            panel.add(this);
            return panel;
        private JPanel getLastPanel() {
            JCheckBox checkBox = new JCheckBox("magnify", true);
            checkBox.addActionListener(this);
            JPanel panel = new JPanel();
            panel.add(checkBox);
            return panel;
        public static void main(String[] args) {
            Magnifier test = new Magnifier();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test.getContent());
            f.getContentPane().add(test.getLastPanel(), "Last");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    class OverlayComponent extends JComponent {
        Magnifier component;
        BufferedImage image;
        Point loc;
        boolean magnify = true;
        OverlayComponent(Magnifier m) {
            component = m;
            addMouseMotionListener(mma);
        public void setMagnify(boolean magnify) {
            this.magnify = magnify;
            repaint();
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            if(magnify) {
                if(image == null) {
                    int type = BufferedImage.TYPE_INT_RGB;
                    image = new BufferedImage(200, 200, type);
                    updateImage(new Point(getWidth()/2, getHeight()/2));
                int x = loc.x - image.getWidth()/2;
                int y = loc.y - image.getHeight()/2;
                g.drawImage(image, x, y, this);
        private void updateImage(Point p) {
            loc = p;
            Graphics2D g2 = image.createGraphics();
            g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
                                RenderingHints.VALUE_INTERPOLATION_BICUBIC);
            double scale = 1.25;
            int x = (int)(scale*p.x) - image.getWidth()/2;
            int y = (int)(scale*p.y) - image.getHeight()/2;
            g2.translate(-x, -y);
            g2.scale(scale, scale);
            component.paint(g2);
            g2.dispose();
        private MouseMotionAdapter mma = new MouseMotionAdapter() {
            public void mouseMoved(MouseEvent e) {
                if(magnify) {
                    updateImage(e.getPoint());
                    repaint();
    }

Maybe you are looking for