Mouse behavior problem!

When i create two small cube within a big cube, now i want to pick any one of the two small cube, then translate, scal, rotate the small cube.
I already read the book Java 3D Programming, and there had a example mouseNavigateTest. for that example just operate one small cube within a big cube, but when you create another one and then you using mouse behavior, the result was the two cube will be operare together.
i know the above example mouseNavigateTest, it using mouse behavior to operare the transformGroup object. can i operare others to control different cube in the big one?
thaks for any help!

Bear with me while I tell you the symptoms I had, and then see below for the latest update.
I have a mac mini running Leopard with all the latest automatic updates. I have iWork '09. I use a Logitech wireless mouse with a USB transceiver.
Until the last 7 - 10 days, to select a complete row or column, all I needed to do was left-click on the number or letter.
To do the same thing now, I have to RIGHT-click the row number (this shows the drop down menu) left-click (to remove the drop-down menu) and then left-click again to select the complete row. After the first right-click, it does not seem to matter where in the spreadsheet I left-click, the row selected will be that of the original right-click.
Until I have accessed Numbers, the mouse behaves normally, but once I have loaded Numbers, the hover function does not work anywhere on the screen. Even the dock no longer enlarges icons as I pass over them.
UPDATE: This morning the system downloaded updates, and as usual I clicked Install and Restart. After restarting, ALL the hover functions ceased to work.
I discovered that if I unplug the USB transceiver and then reconnect it, full mouse utility returns, including the hover function.
It seems that somewhere in the startup routines, the mouse bluetooth logic is getting overwritten or corrupted, but can be restored by reinitializing the bluetooth device.
Interesting....

Similar Messages

  • Odd/Limited Mouse Behavior

    I have an intermittent problem with my mouse behavior in 10.6. Actually, I'm pretty sure I had the same problem in 10.5, it's just a fiendishly intermittent problem that has an as yet undetermined cause & solution. All I know is that it occasionally occurs and eventually resolves itself.
    What happens is that I can still click things, scroll, right click to open a more extensive menu, etc., but certain ancillary (yet surprisingly critical) functionality stops working for a time.
    For example, hovering my mouse over a link in Safari does not turn the pointer into a "hand with an extended index finger" or does not cause embedded pop up messages to appear (on sites I'm familiar with, no less, so I know they have them). On my Safari browser tabs, the 'x' to close individual tabs does not appear unless I first click on a tab once, and it closes when I click it a second time.
    In menus - anywhere, not just in Safari - clicking on File or Edit or View opens the window, but selections do not highlight and track my mouse movements the way they normally do. This makes submenus impossible to use without clicking and holding once I reach the submenu I want to open, and releasing the click when I reach the option I want to select.
    The Dock, which I have set to Show/Hide based on my mouse movements, will not pop up when I move my mouse all the way to the bottom of the screen. If I click my mouse once while the pointer is essentially invisible (being at the extreme bottom of the screen), the Dock will sometimes appear, but not always. When it does appear, the icons in the dock do not enlarge/magnify based on my lateral mouse movements the way they normally do.
    In iTunes, when I'm watching a TV show or movie in full screen mode, the controller does not appear when I move my mouse the way it normally does.
    And so on.
    I have never found a working remedy for this affliction, I usually just have to ride it out, i.e., I deal with the limited functionality until something decides to work right again. I have reset my mouse (it's a wireless Logitech mouse with five buttons, including the scroll wheel, but I had a wired mouse way back in Leopard), I have restarted my Mac, reset Safari, reset my System Preferences, repaired Disk Permissions, I have even junked the entire Preferences folder and restarted. I have also switched to different mice, but they have the same problem while the problem is occurring.
    I don't believe this is a settings issue, I think it has something to do with Java or something, which occasionally goes on a holiday.
    If anyone has any ideas, I'd love to hear them. I've been enduring the issue the last day and a half and this is the longest it's ever lasted without correcting itself.

    Check for any dust in the LED hole. Try using a plain surface, like a solid colored mouse pad, if the surface is on the shiny side. If that does not work...
    Try starting up from Mac OS X installation disc. If the mouse is also erratic when booted from another system, you can rule out the 10.5.3 update as the cause.
    If it works normally when you are booted from the installation disc, there is probably some issue with your current installation.

  • Sloppy Mouse Behavior in this OS

    I've never been impressed with the mouse accuracy on Apple systems to begin with but it's gotten worse. I use a 40", Samsung, LED, LCD TV as a monitor for my Intel Mac Pro via an HDMI cable. This is a very expensive monitor. Ever since the past couple of OS updates to Leopard, I noticed the mouse behavior getting very erratic. Specifically I am referring to clicking to close tabs in the browser and nothing happens. Or in mail, I attempt to say highlight an email and it opens instead. Sometimes even multiple copies open. Highlighting and changing a file name is nearly impossible. The same goes for trying to drag or move files around in Finder.
    This weekend I upgraded from Leopard to Snow Leopard with no improvement.
    I've tried changing mice. I've got a Logitech VX Nano laser mouse. A logitech optical trackball. And a Microsoft laser mouse. All behave the same. They have the exact same problems with or without their driver packages installed.
    What's up with this? Does Apple test anything? After the experiences I've had with my Airport Extreme Router and the firmware upgrades, the constant file permission errors after patches, I really have to wonder.

    Sorry, but I get the impression that you have no clue what you're talking about when it comes to drivers and their submission to Microsoft:
    http://dictionary.zdnet.com/definition/whql.html
    Just for the record, I don't have any third party mouse drivers loaded in the OS. While I would agree that in order to get specialized functions on a mouse to work you may need a driver, but I would disagree that in order just get proper operation of the pointer and right and left click buttons that you should need a specialized driver just because it's from a different manufacturer, especially on wired devices.
    This operating system is displaying the "i's" as "l's" in my RSS feeds on Safari. I guess that's someone else's problem too?
    Message was edited by: 46r

  • Irratic magic mouse behavior: Left handed user

    Hello,
    I have a magic mouse that I use on the left-hand side of my MacBook Pro and experience irratic mouse behavior and unexpected jumpiness - i.e. while working on a PowerPoint presentation, the screen jump to a different slide even when I'm not touching the mouse. The screen often jumps on its own even if I'm not typing or using the magic mouse.  I've tried several fixes, including:
    Setting up my preferences to Ignore trackpad when mouse is present
    Setting up my preferences to Scrolling without intertia
    Tryinf a couple of apps (Mountain Tweeks and MagicPrefs)
    I'm wondering if my continued issues have to do with the fact that I'm using the mouse on the same side that I plug in my computer power cord and speakers.
    I've search extensively for a solution to this issue and have been unable to solve it. Any insight would be appreciated.
    Thanks!

    Hi shelleyfromely,
    The article below may be able to help you with this issue.
    Click on the link below to see more details and screenshots. 
    I've quoted some helpful highlights for you:
    Troubleshooting wireless mouse and keyboard issues
    Make sure Bluetooth is turned on
    If the "Show Bluetooth status in the menu bar" option is not enabled in the Bluetooth System Preferences, the Bluetooth icon will not display in the menu bar.  Enable this option in System Preferences, then check the status of the Bluetooth icon in the upper right menu bar. If the Bluetooth icon does not appear in the menu bar, restart your computer.
    Slide the On/Off switch on the bottom of your mouse to turn it on. Note: If the battery compartment cover is not installed properly the On/Off switch may not function correctly or may be difficult to operate. Remove the battery compartment cover and carefully reinstall it.
    When your mouse is on and paired, and the batteries are charged, the indicator light glows steadily.
    Check preferences
    From the Apple () menu, choose System Preferences, then choose Bluetooth from the View menu. The Bluetooth preferences pane will list the Bluetooth devices paired with the computer, the status of the devices (paired or connected), and whether Bluetooth power is on or not.
    Click the gear icon and choose "Connect" to connect a device that is powered on.
    Keyboard or mouse intermittently stops responding
    Click the mouse
    Click the mouse once to reconnect it with your Mac. It may take a moment for the mouse to respond.
    Check the battery level of the mouse. Choose System Preferences from the Apple (), then choose Mousefrom the View menu. The battery level indicator is in the lower-left corner. Replace the batteries if they are low.
    Check for signal interference
    Wireless networks that operate on 2.4GHz may cause interference.
    Move cordless phone base stations, microwave ovens, and other 2.4GHz electrical devices away from the Mac if you suspect interference.
    Keep wireless devices within 10 meters (33 feet) of the Mac.
    Avoid putting metal objects between the device and the Mac.
    Mouse does not track as expected (jittery, jumpy, slow, fast).
    The Apple Wireless Mouse can be used on most smooth surfaces, however if tracking issues occur try these options:
    Choose System Preferences from the Apple () menu, then choose Mouse from the View menu. Set the Tracking slider to adjust how fast the pointer moves as you move the mouse.
    Try using a different surface to see if the tracking improves.
    Turn the mouse over and inspect the sensor window. Use compressed air to gently clean the sensor window if dust or debris is present.
    If multiple Bluetooth wireless devices are in use nearby, try turning them off one at a time to see if the issue improves. Bandwidth intensive devices could affect tracking.
    I hope this information helps ....
    Have a great day!
    - Judy

  • Why is mouse behavior so horrible in osx mavericks?

    After "upgrading" to Mavericks, mouse behavior has become erratic regardless of what non-Apple mouse I use, wired or wireless (Logitech & MS).
    Behavioral issues encountered are:
    - Dragging and Dropping any items in any application including the Finder and Desktop is like playing russian roulette with a 9mm pistol. With the mouse button down, a release is registered and half a second later, another click is registered.
    - Clicks not being registered (mostly when trying to close Safari tabs)
    - Double clicking automatically happens about 50% of the time when only single clicks are inteneded.
    With all mouse drivers updated (for every brand and model of mouse I've attempted to use), the same erratic behavior is randomly encounterd. I have already reset SMC and PRAM to no avail.
    Are there some new settings I'm not aware of? Or should I just go out and purchase an Apple mouse?
    Thanks for any advice/help on figuring this out.

    Thank you William. I normally don't use the mfg's drivers as the OS native driver has always worked fine (minus the acceleration curve). But, due to the issues i'm experiencing now, am trying the mfg osx mavericks drivers and they aren't helping much.
    Thank you!

  • "write on" behavior problem

    I’ve drawn shapes many times with the “write on” behavior. All of a sudden, it’s not working. Here’s the problem. “Write On” completes drawing and then reverses a little bit on the last frame. I included frame shots. If anyone can help, I would appreciate it.
    Side note: I know I can do the same thing with key frames. However, I’d rather solve the “write on” behavior problem.

    Ah, nevermind! I think I may have solved the issue myself. It seems if you click on the Group tab to the left of the main timeline as opposed to the clip within the timeline, it allows you to change the group and scale it while also keeping different elements together. Could be helpful for anyone with a similar question.

  • Mouse navigations problem with Sun Java 1.5.0_*

    Hello gurus,
    We need to move from JInitiator to Sun Java Plugin; according to the Forms10g Client Platform Support (http://www.oracle.com/technology/products/forms/htdocs/10gR2/clientsod_forms10gR2.html) one of the certified version for Forms 10.1.2.0.2 of the the Sun Java Plugin is 1.5.0_06 and Internet Explorer 6.0, we have tested also SJPI 1.5.0_09 and we get the same mouse navigation problem reported in the following Oracle Forum threads.
    Mouse navigation don't work with Java Plugin.
    Mouse navigation don't work with Java Plugin.
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Forms 10gR2, Sun Java 1.5.0_06 gives mouse problems
    Does anybody know a solution to this problem?
    Any help will be really appreciated.
    Regards,
    Victor.

    You need to use 1.5.0_12 or newer. The client SOD is not up-to-date on this specific point. A lot of navigation problems was fixed in this very release.
    The Management team should change this in the client SOD, wonder why they still refer to 1.5.0_06. For Applications, the first 1.5.0 to be certified was _12.
    Also make sure, that you are using the latest Patch 3 for 10.1.2 (10.1.2.3). This patch also contains fixes for a lot of these wellknown issues.
    Hope this helps,
    Jacob

  • AIR application object - mouse drag problem

    Hi,
    We face the following problem. Attached herewith are code sample and simulation for the problem. Would be great if someone could help us.
    Problem: Objects created in AIR application experience mouse drag problem.
    To simulate the problem please execute the  sample application, a grey box (object) appears on the screen. Hold down left and right mouse buttons and drag the object and release both the mouse buttons. Object sticks to mouse pointer and moves along with mouse pointer to wherever it is dragged.
    Steps to Reproduce  - Hold down left and right mouse buttons and drag the object and later release both the mouse buttons. Notice Object sticks to mouse pointer and moves along with mouse pointer to wherever it is dragged. Object stops to move along with mouse pointer after sometime, then move the mouse pointer to the object and see that it sticks to pointer again and gets dragged along with the pointer.
    Actual Result - Object sticks to mouse pointer and moves along with mouse pointer to wherever it is dragged.
    Expected Result - Object should not stick to mouse pointer even after the mouse buttons are released.
    Due to problems with uploading the attachment here, please send a email to the following email-id ([email protected]) and I shall send the attachment in response.
    Thanks in advance.

    After some research, it seems this problem has been there for years with Bootcamp.  Hope Apple can develop a better touchpad driver soon.

  • Change mouse behavior....Turn off slowing motion

    HI there folks. Well I got my MAC reinstalled here and one thing I forgot to ask before was how to turn off this certain mouse behavior. When I move slowly with my mouse, the mouse doesn't move the same distance as it does when I'm moving fast. This is kind of hard to describe. If I move it slow it gets VERY slow and precise. Is there a way to just make it "normal"? Thanks for the help!

    ridergroov,
    Tough night last night.
    I guess it's a Mac thing
    Not sure what you mean by that. My mouse moves the same on my unused PC's. Slow movement = short distance, Faster movement = greater distance on the screen.
    I've used Universal Access and the Mouse Pref's to slow down my mouse to work on very detailed CAD drawings and Photoshop photos to get placement of details just right. There are other programs out there that would speed up a mouse movement several times faster.
    http://www.versiontracker.com/php/search.php?mode=basic&action=search&str=mouse& plt%5B%5D=macosx&x=0&y=0
    try one of these.

  • XINPUT mouse driver problems

    Hello Everyone!
    I've written a mouse driver for Xsun (sparc). It is implemented as XINPUT module. The module calls miPointerDeltaCursor to move the cursor. mieqEnqueue is used to enqueue button changes.
    The cursor moves correctly when the mouse is moved but any events (even events coming from miPointerDeltaCursor) are not done immediately but the moment I press a key on the keyboard.
    The keyboard focus does not change when the mouse cursor crosses a window's border but the moment I press a key on the keyboard.
    Mouse button clicks will be delayed until a key on the keyboard is pressed.
    Any ideas why the X server behaves like this ??
    Thanks.
    Martin.

    Can you tell which GE60 model do you have? (there are different models of GE60 and we need the exact model for example GE60 0ND/2OD/2PE..)
    Which external mouse are you using? can you give the model of the mouse and the driver version you installed?
    Does the mouse freezing problem also happen when using another external mouse?
    Also, can you explain little more details when you mentioned "It seems that this problem happens when I unplug the mouse."?

  • Mouse driver problems on GE60

    Hi, I have GE60 notebook with Win 7 64-bit and my external mouse sometimes suddenly stops working. The mouse driver completely freezes. When I try to uninstall and reinstall the mouse driver in device manager it just stops responding. Same goes with shutdown - Windows tries to unload the driver but nothing happens and it just won't turn off. I have tried reinstalling windows, replacing the mouse with another, all kinds of stuff but I can't figure out what's the problem. It seems that this problem happens when I unplug the mouse. All drivers are official from MSI website. Thanks in advance

    Can you tell which GE60 model do you have? (there are different models of GE60 and we need the exact model for example GE60 0ND/2OD/2PE..)
    Which external mouse are you using? can you give the model of the mouse and the driver version you installed?
    Does the mouse freezing problem also happen when using another external mouse?
    Also, can you explain little more details when you mentioned "It seems that this problem happens when I unplug the mouse."?

  • What is wrong with my 2730p? (Lag, Mouse Device Problems)

    long story short, i have been having tremendous usability issues with my laptop, including mouse problems and tremendous lag (both with and without the hdd), and missing/broken system files which sfc/ scannow fails at fixing.
    the system in question has an L9400 cpu, 4 gigs of ram, vista business and linux mint 11 installed in a dual boot configuration to a toshiba  mk1633gsg mini sata  hdd, and there are also many livecds and liveusbs that are used with this pc.
    an hp technician on another forum has informed me that these issues may be indicative of a failing hdd, and it has been made apparent by many other users on some other forums that toshiba hdds have a pretty bad reputation ... however, after removing the hdd and running the system from a livecd, i have surprisingly encountered many new problems:
    (the following occurs with the hdd removed)
    a linux mint 6 live cd which works perfectly fine for all other tested systems gets stuck while loading the os. it either gets stuck while loading "acpi modules" or " /casper/vmlinuz" or, if it can get past those, the os loading progress bar gets stuck at approximately the same place each time, where it will stay motionless until the system quits on its own and spits out this error: "isolinux: disk error 01, ax = 4200, drive 9f"
    the laptop can boot from a linux mint 11 livecd about 50-60 percent of the time. the other 40-50 percent of the time, it also gets stuck at loading "acpi modules" or " /casper/vmlinuz" BUT if it can get to the screen where there is a progress bar, it tends to load the os completely.
    while running from a linuxmint 11 livecd with the hdd removed, in a very well conditioned room, suddenly:
    with about 15-20 tabs open, after watching a few youtube videos, i lost ctrl-v paste.
    then i lost right click functionality,
    then i lost the ability to alt-tab into other open programs,
    then i lost the ability to click on anything other than what is within the firefox window (i could click on all of the browser buttons, all of the tabs, all of the links but i could not shrink or minimize the window or switch to another program).
    then there was lag when saving a txt file to a portable hdd.
    this is utterly bizzare. with the ram passing 8 hours of memtest86 without errors and with the hdd removed and with only about 20 tabs open, what could be causing these problems?
    furthermore, with the hdd attached:
    in vista and linuxmint 11 (both installed to hdd), the mouse problems are currently:
    the right mouse button becomes unresponsive after about 3-7 tabs are opened in firefox OR after a large video file is opened in vlc,
    the left mouse button will randomly lose functionality after about 10 tabs are opened OR after a large video file is opened in vlc (the lmb will randomly work in some windows and not in others or it becomes completely unresponsive),
    usb mice which used to work perfectly fine are no longer recognized and
    the pen may not work at all upon boot.
    furthermore, there have been 2 longstanding mouse problems that have been with this pc for as long as the current hdd has been in use;
    the left mouse button becomes completely unresponsive in flash games (while still working outside of the game) when a moderate number of targets appear (5 enemies),
    and the pen has the strange tendency to connect the leading points of successive dashes and lines shortly after those lines are drawn (eg: if i draw a lowercase t, with one line going downward and the other going from left to right, the resulting figure will look like a cross for about .25 seconds before it suddenly and inexplicably transforms into a 'number 4' shape with a very thin line connecting the leading edges of the 2 dashes), thus making it completely useless for drawing and handwriting recognition.
    prior to the hdd scans, these mouse problems would occur without fail about 15 seconds (and no sooner, strangely) after the enter password screen appears on vista or immediately upon boot in linuxmint and there would also be incredible lag associated with every mouse click in both vista and linuxmint (including an extra lag of about 7-30 seconds every 3 seconds in vista).
    this is the 2nd hdd to fail in this laptop in 2 years, albeit both hdds had a few years of use.
    the following TESTS have been conducted:
    ran the embedded hp hdd and memory diagnostics , passed with no errors , had no effect
    the hdd passed seatools' long test , and the ram passed 8 hours of memtest86 with both sticks of ram connected. i have not (yet) attempted to run memtest with the reverse orientation or with each stick by itself.
    here is the crystaldisk info report:
    [url=http://imageshack.us/photo/my-images/35/l9ql.png/]l9ql.png[/URL]
    the hdd instafailed both smartudm and the 'toshiba smart' test (from hirens boot cd 15.2 )due to not detecting an ide drive.  
    the toshiba error was: 'NG device defective' ...
    the smartudm error was: 'error, ide drive not found'
    here are the temps accoding to CPUID  HWMonitor 1.23:
    afternoon:
    http://imageshack.us/photo/my-images/6/uhw.png/%5D%5BIMG%5Dhttp://img6.imageshack.us/img6/6809/uhw.p...
    night:
    http://imageshack.us/photo/my-images/850/3i8o.png/%5D%5BIMG%5Dhttp://img850.imageshack.us/img850/360...
    clicking the health tab of the free version of hdtune (to check the SMART status) causes the program to become unresponsive.
    ran windows memory diagnostic, passed with no errors  , had no effect
    ran vista disk check ... had no effect ... found bitmap errors, crosslinked files, orphaned files ... can produce logs if desired
    ran sfc /scannow ... found numerous missing and broken dlls ... more info in this link:
    http://www.pchelpforum.com/xf/threads/hardware-tests-for-malfunctioning-laptop-2730p.154894/#post-99...
    the operating temps are not the highest they've ever been ... between 37-40 degrees celcius
    ac adapter voltage (checked with multimeter) is perfectly stable and within parameters ...
    pc wizard 2012 crashes immediately upon starting and restarts into debug mode ...
    another disk check, following a hard shutoff, has resulted in more stabilized behavior; lag and mouse problems only occur if a certain (small) amount of system resources are used (3 tabs in firefox before problems start occuring).
     is it possible that some other problem is causing the hdds to fail? i'm wondering if there may be a capacitor problem or something ...
    there are some new problems:
    i get this message: 'Non-System disk or disk error' (with the main hdd connected) despite the fact that no external drives are connected. usually, turning the pc off and on again resolves this, but i wonder if this is indicative of a bigger issue.
    also, it is really difficult to boot from usb for some reason; despite attempting many methods, hirens boot cd had to be burned to a cd before i could use it.
    related earlier threads:
    http://h30434.www3.hp.com/t5/Notebook-Hardware-e-g-Windows-8/Hardware-Tests-for-Malfunctioning-2730p...
    http://www.pchelpforum.com/xf/threads/hardware-tests-for-malfunctioning-laptop-2730p.154894/
    PS: pending your responses here i may attempt to update the bios.

    Run Mountain Lion's recovery, repair permissions and restart your computer.
    You need to detail "weird."
    OS X: About OS X Recovery

  • Erratic magic mouse behavior

    Will anybody ever be able to decipher what the specific causes are for the erratic behavior of Apple's Magic Mouse? Personally I think it boils down to the Bluetooth Signal itself that can cause a lot of this erratic behavior, like in sudden sluggishness of movement. I see this behavior comes and goes as if some invisible force has suddenly intervened. My best guard against erratic behavior is to have the computer as close to the mouse as possible, even a foot or two. The further out the computer gets the more erratic behavior is likely, but like I said, even then it "comes and goes." Do you think it is the Bluetooth signal itself, because sometimes when it's become erratic I move the computer around, even which way it faces in relation to the mouse and I can suddenly "lock on" and the mouse returns to normal, only to have it start acting up again in a few hours or later on in the day or week or whatever. That's why I say the signal itself is suspect because I can effect the behavior by moving the computer around. Maybe the signal is effected by other components in the room like my TV or Audio Equipment or WIFI signals or remote controls. 
    I love my Magic Mouse and that is why I have put up with this erratic behavior struggle I'm constantly/periodically having, but I do wish this problem could be eradicated altogether and i could just use the mouse like it was intended. Incidentally, this is a brand new mouse I'm currently using that is at issue. All my other Magic Mouse have also done this exact same behavior.

    Hi, thanks for the reply. Yes I'm running Yosemite 10.10.3. I'm certain much of what you posted is definitely a likelihood for some of the issues. I have a lot of electronic equipment in this house, and yes, smart tv's connected to WIFI as well as other computers throughout the house. Apple of course does not mention any of this as possible issues as far as I know, the public, like myself, just assumes all will be wonderful. I know there are more like me out there if I'm having these consistent problems with all the Magic Mouses' I've owned. It really is attacking it from the SIGNAL side of things because I think that is the only issue that's going on. If it were addressed more, maybe even scientifically, maybe we could say, "well don't put it here, this can cause problems, and that TV, keep such and such a distance." Those are the types of guidelines that would be so helpful. But from what I'm seeing none of that is addressed at all (or for the most part). Anyway, I really want the wireless mouse world (specifically the Magic Mouse) to thrive. Every time I hook up a wired mouse I really feel the step back I'm taking and it's too painful! I've even went to the point, and I'll do it again if need be, of having my computer (Mac Mini) 2 inches from the Magic Mouse, that's when it operated at its very best. My only problem with that is it's somewhat impracticable, and I really don't think I should have to do that to have it work consistently.  Anywho, my two cents worth.

  • Bizarre mouse behavior on rollOut - bug??

    I built a custom cursor out of a swf file and I am applying
    it on rollover to a specific item. That part works fine. The
    problem is the on rollOut event (or mouseOut I've tried both same
    exact behavior) fires CONTINUOUSLY when I move the mouse to the
    RIGHT. It only fires when I move the mouse to the right. Let me
    give an example:
    app starts, normal mouse cursor
    i roll over an item, swf cursor applied
    normal behavior is for swf cursor to be applied over the
    item, and off when rolled out of it.
    if i move my mouse to the right while still OVER the item,
    the event fires for every pixel i move even though i haven't rolled
    out.
    if i leave the cursor on and move off the item and move
    around in the application, the event still fires every single pixel
    i move to the right. not only does it fire - it fires a rollout
    event up the entire chain of my application. it fires an on rollout
    event for every single component in the application including the
    APPLICATION itself!!
    i'm going nuts on this one, anyone have some insight? the swf
    cursor is nothing fancy, just a bitmap, text, and one small little
    animation with no scripts.

    The issue seems to be resolved (after a longgggg time of
    debugging) to be related the the X and Y offset parameters of the
    setCursor method. My cursor was designed to have no offset so i
    left it blank. I tried 0,0 but that didn't fix the problem.
    Putting in any number (1,1) seems to fix the problem. this
    must be a bug of some sort in the constructor for this class. Can
    any of the Mods/Devs mark this as a bug to investigate?

  • Custom mouselook  behavior problems

    I am trying to write a custom behavior for mouselook (I know there is one but I want the challenge and the custom levels). I can't seem to get it to move...
    Interaction1 class (JFrame):
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    public class Interaction1 extends JFrame implements ActionListener, KeyListener
        public static final long serialVersionUID=1;
        private Timer t;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,5f) );
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
            t=new Timer(10,this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public void actionPerformed(ActionEvent e)
            repaint();
        public void paint(Graphics g)
            canvas.repaint();
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior class (ViewPlatformBehavior):
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
    PLEASE NOTE: I have been trying to get an exit command in there but it hasn't worked, so if you decide to run this, you will have to ctrl-alt-dlt it and alt-e it to end the task which brings up an AWT question... why wont it exit?
    ALSO NOTE: I am aware of some extra useless variables in the processStimulus method. This is for future versions once I get this one to work. Ignore it.

    Perfect! Thanks. I've got a new problem now. whenever I try to use the mouselook, the object disappears. And so I tryed turning to find it and it still isn't there...
    Main class
    import javax.swing.JFrame;
    import java.awt.event.*;
    import javax.swing.Timer;
    import java.awt.GraphicsConfiguration;
    import com.sun.j3d.utils.universe.SimpleUniverse;
    import javax.media.j3d.*;
    import java.awt.Container;
    import java.awt.FlowLayout;
    import javax.vecmath.*;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.image.BufferedImage;
    import javax.swing.ImageIcon;
    import java.awt.Polygon;
    import com.sun.j3d.utils.geometry.GeometryInfo;
    import com.sun.j3d.utils.geometry.Triangulator;
    import com.sun.j3d.utils.geometry.Stripifier;
    import com.sun.j3d.utils.universe.ViewingPlatform;
    import com.sun.j3d.utils.universe.Viewer;
    import com.sun.j3d.utils.behaviors.mouse.MouseRotate;
    public class Interaction1 extends JFrame implements KeyListener
        public static final long serialVersionUID=1;
        private Canvas3D canvas;
        public Interaction1()
            super("Interaction1");
            setSize(700,530);
            setVisible(true);
            Container c = getContentPane();
            c.setLayout(new FlowLayout());
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            canvas = new Canvas3D(config);
            canvas.setSize(640,480);
            canvas.setVisible(true);
            c.add(canvas);
            ViewingPlatform vp = new ViewingPlatform();
            vp.setNominalViewingTransform();
            vp.getViewPlatformTransform().setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
            vp.setViewPlatformBehavior( new MouseLookBehavior(vp.getViewPlatformTransform(),this,10f));
            vp.getViewPlatformBehavior().setSchedulingBounds(new BoundingSphere());
            SimpleUniverse univ = new SimpleUniverse(vp, new Viewer(canvas));
            BranchGroup scene = createSceneGraph();
            scene.compile();
            univ.addBranchGraph(scene);
            addKeyListener(this);
        private BranchGroup createSceneGraph()
            BranchGroup i = new BranchGroup();
            Background bg = new Background();
            bg.setColor(.75f,1f,1f);
            bg.setApplicationBounds(new BoundingSphere(new Point3d(),500.0));
            Shape3D side1 = new Shape3D();
            QuadArray abgeom = new QuadArray(4,QuadArray.COORDINATES|QuadArray.TEXTURE_COORDINATE_2);
            //order TL,BL,BR,TR
            abgeom.setCoordinate(0,new Point3f(-3f,4f,0f));//Front
            abgeom.setCoordinate(1,new Point3f(-3f,0f,0f));
            abgeom.setCoordinate(2,new Point3f(3f,0f,0f));
            abgeom.setCoordinate(3,new Point3f(3f,4f,0f));
            abgeom.setTextureCoordinate(0,0,new TexCoord2f(0f,0f));//Front
            abgeom.setTextureCoordinate(0,1,new TexCoord2f(0f,1f));
            abgeom.setTextureCoordinate(0,2,new TexCoord2f(1f,1f));
            abgeom.setTextureCoordinate(0,3,new TexCoord2f(1f,0f));
            side1.setGeometry(abgeom);
            Appearance abapp = new Appearance();
            Texture2D abtex = new Texture2D(Texture.BASE_LEVEL,Texture.RGB,64,64);
            abtex.setImage(0,new ImageComponent2D(ImageComponent.FORMAT_RGB,toBufferedImage((new ImageIcon("buildingside.jpg")).getImage())));
            abapp.setTexture(abtex);
            side1.setAppearance(abapp);
            i.addChild(bg);
            i.addChild(side1);
            return i;
        public void keyPressed(KeyEvent e)
            if(e.getKeyCode()==KeyEvent.VK_ESCAPE)
              System.exit(0);
        public void keyReleased(KeyEvent e)
        public void keyTyped(KeyEvent e)
        private BufferedImage toBufferedImage(Image a)
            BufferedImage b = new BufferedImage(64,64,BufferedImage.TYPE_INT_RGB);
            Graphics g = b.getGraphics();
            g.drawImage(a,0,0,null);
            return b;
        public static void main(String args[])
            JFrame a = new Interaction1();
    }MouseLookBehavior:
    import java.util.Enumeration;
    import javax.media.j3d.*;
    import java.awt.event.MouseEvent;
    import java.awt.Robot;
    import java.awt.Window;
    import java.awt.Point;
    import java.awt.Dimension;
    import com.sun.j3d.utils.behaviors.vp.ViewPlatformBehavior;
    public class MouseLookBehavior extends ViewPlatformBehavior
        private TransformGroup target;
        private Transform3D yaw;
        private double yawTheta=0.0;
        private Robot robot;
        private Window window;
        private float sensitivity;
        public MouseLookBehavior(TransformGroup ooc, Window a, float senstvty)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=senstvty;
            yaw = new Transform3D();
        public MouseLookBehavior(TransformGroup ooc, Window a)
            target=ooc;
            window = a;
            try{robot = new Robot();}catch(Exception e){}
            sensitivity=2f;
            yaw = new Transform3D();
        public void initialize()
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
        public void processStimulus(Enumeration e)
            MouseEvent a = (MouseEvent)(((WakeupOnAWTEvent)e.nextElement()).getAWTEvent()[0]);
            Point winloc = window.getLocation(null);
            Dimension windim = window.getSize(null);
            winloc.translate((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            int difx=a.getX()-(int)(windim.getWidth()/2),dify=a.getY()-(int)(windim.getWidth()/2);
            difx*=sensitivity;
            dify*=sensitivity;
            yawTheta+=difx;
            yaw.rotY(yawTheta/180*Math.PI);
            target.setTransform(yaw);
            robot.mouseMove((int)windim.getWidth()/2,(int)windim.getHeight()/2);
            wakeupOn(new WakeupOnAWTEvent(MouseEvent.MOUSE_MOVED));
    }

Maybe you are looking for

  • Where can I get a logic board for a McBook Prp A1260

    Where is the best place to get a logic board for my A1260 MacBook Pro 15"?

  • Why does OS X Yosemite not recognize my Kindle Fire HD?

    I recently upgraded to the OS X Yosemite on my MacBook Pro 13"  and I love this new operating system. It's so sleek! However, I noticed that when I connected my Kindle Fire HD through USB connection to my Mac, my Kindle wasn't recognised. Andriod Fil

  • Toplink mapping generator hangs...

    I am using the preview 1013 Jdev version with a MySQL DB. The connection to the DB works fine. When I try to generate the toplink mapping for a single small test table, the "generating offline database objects" progress bar just keeps going back and

  • How to check installed programs

    Hello, is there a way to check if any programs have been installed on my iMac without me knowing. The other user has the password to the root account. Thankyou

  • New Usuage format vs getting a new phone

    I am so upset over this new usage they will start on Monday. I have held out getting a new Iphone until the 4 arrives. I hate having to try and keep track of my usage so l am now considering heading down and getting the 3GS while the unltd usage is a