The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* TangentBinormalGenerator no longer writes binormal buffers. Instead it writes the W coordinate of the tangent based on the binormal's sign. Should fix "normal map seams" type problems
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* AWT Panels
- Added automatic throttling to update loop if none of the panels are visible to the user (e.g. covered by another tab)
- Fixed NPE that could occur when an AwtPanel becomes invisible
- Called reshape() on all viewports to which an AwtPanel is attached when the panel is resized
- Fixed inverted mouse coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8344 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* AwtMouseInput will no longer generate events with no mouse movement
* Fixed issue where settings specified on AwtPanelsContext were not copied properly to the offscreen context
* Significant performance improvements in AwtPanel system
- Use of proper locking to prevent deadlocks
- Optimized BufferStrategy by using a single, accelerated front buffer
- Removed pbuffer.makeCurrent() which was not necessary and used many CPU cycles
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8337 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
There is still an issue with the mouse buttons besides the first mouse button. These should be picked up by nifty, but for some reason are not triggering a MouseButtonEvent. This is something Kirril will need to take a look at.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca