As far as I can tell the horizontal scroll wheel is not supported in
Java. The IDE uses the standard Java JTextArea control for the J IDE. My
guess is that on your Mac with a mouse with both vertical and horizonal
wheels (however packaged) you will see that the vertical wheel works (as
it is supported) and the horizontal won't.
Probably by the time 602 comes out the support for horzl mouse wheel
will be available for both Java and Windows for isigraph and other
controls.
The J IDE uses a standard Java JTextArea control. There is no easy
option to get the Mac focus vs caret behavior. Digging in and doing it
the hard way is beyond the scope of the current release. A habit of
clicking the IDE frame (as Oleg suggests) can mitigate.
----- Original Message -----
From: "Joey K Tuttle" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Saturday, August 19, 2006 6:42 PM
Subject: Re: [Jbeta] mousewheel
At 18:18 -0400 2006/08/19, Eric Iverson wrote:
As far as I can tell in both Windows and Java the mousewheel event is
always and only sent to the control with focus. However, within an app
anything can be done with that event. The app would keep track of
mousemove events to know which window the mouse was in and then the
mousewheel event would be 'reflected' from the focus window to the
window where the mouse was. I think the J low level mousewheel event
and data is at the right level and the app can do what it wishes.
Barring serious problems there won't be more mousewheel changes for
this release.
Even so - horizontal scroll "wheel" support would be
very nice in the IDE.
Regardless, can you please consider not repositioning
the cursor on the click event that focuses the window.
- joey
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm