I don't know anything about Java - but I am surprised at
what you say about the JTextArea control. The reason
for my surprise is the (rather strange in my opinion)
behavior of such things on a Sun/Solaris workstation
(which I am assuming had some influence in the development
of Java). I always thought it a bit bizarre - namely that
text input went into the pane that the pointer was over,
even if it wasn't the top or "focused" pane. If you were
used to this, it could be convenient, but never seemed very
intuitive to me. Of course, the text didn't flow into the
pane at the pointer location, but into where the cursor
was in that pane (even if it was hidden by other panes on
top of it...)
I'm glad that there is discussion going on and maybe ways
to make J IDE fit more comfortably with other applications
in a given environment will come out of it - a good thing.
Another thank you for changing the key shortcuts for
copy/paste etc. in the Darwin IDE to be more "conventional".
- joey
At 17:41 -0400 2006/08/20, Eric Iverson wrote:
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.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm