Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

mouse wheel  RSS feed

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a text editor type application that I am coding and would like to add the functionality of rolling a mouse wheel and the page scrolls down. I have not been able to find anything about this. Has it not been implemented yet by Sun or is it there and I am just not finding it?
Thanks,
-Jason
 
Author
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jason Kretzer:
I have a text editor type application that I am coding and would like to add the functionality of rolling a mouse wheel and the page scrolls down. I have not been able to find anything about this. Has it not been implemented yet by Sun or is it there and I am just not finding it?
Thanks,
-Jason


It's a J2SE 1.4 addition to Swing. You get new mouse events to handle scrolling, and all the standard components have been modified so their default behavior is what you'd expect if you have a scrollwheel.

------------------
James Hart
Wrox
Author of "Early Adopter J2SE 1.4"
 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is good news. I always found it annoying when using Forte or similar Java based editor, that you cannot scroll through the document using the wheel.
Thanks,
-Jason
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had similar problems too. But, then again, I was using a Microsoft mouse
 
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
scrolling added to 1.4 ...........good.
is there a way i can "upgrade" or "add" Jbuilder (maybe a external app or plugin ?) ? would be neat if i can use scrolling with the mouse.

pascal
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by pascal betz:
[B]is there a way i can "upgrade" or "add" Jbuilder (maybe a external app or plugin ?) ? would be neat if i can use scrolling with the mouse.
/B]


Yes, try jbWheel. It's an Open Tool. http://czerwonykapturek.tripod.com/jbWheel/jbwheel.html
Bye

------------------
Fabrizio Gianneschi
Sun Certified Programmer for Java2 Platform
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks fabrizio.
i thought everybody would laugh at me......bzt im not the only one missing my scrollmouse.

pascal
 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I looked at the HotJava Browser v3.0 and it supports my scrolling using the mouse wheel. This is good news but it still won't let me login to my Yahoo! email account. Something about a bad URL. Anyone else see this?

------------------
Jason R. Kretzer
Software Engineer
http://alia.iwarp.com
 
Stanley Tan
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just curious, don't you find HotJava irritatingly slow?

Originally posted by Jason Kretzer:
Well, I looked at the HotJava Browser v3.0 and it supports my scrolling using the mouse wheel. This is good news but it still won't let me login to my Yahoo! email account. Something about a bad URL. Anyone else see this?


 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice they are going to add this feature. That also is my only complaint with Forte. It will be great thought to have scrolling wheel support.
------------------
Sun Certified Programmer on the Java 2 Platform
 
Jason Kretzer
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found HotJava to be moderately slow. The machine I use it on though makes it bearable.
Forte, however, has never run quickly. Nothing against Sun, and this may sound hypocritical but, Forte would have been a GREAT editor if it was written to be a little faster and intuitive.


------------------
Jason R. Kretzer
Software Engineer
http://alia.iwarp.com
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jason,
Netbeans/Forte has modules for Windows and Linux, which allow you to use your Mouse Wheel. I quote from the netbeans FAQ:
---
Note: There are experimental modules for mousewheel support under both Windows and Linux. For legal reasons, they cannot be packaged with the IDE, but you can download and use them. For information on Linux, see http://www.netbeans.org/www-contrib/msg00036.html. For information on Windows, see http://www.netbeans.org/www-contrib/msg00016.html.
---
Regards,
Reuben.

Originally posted by Jason Kretzer:
That is good news. I always found it annoying when using Forte or similar Java based editor, that you cannot scroll through the document using the wheel.
Thanks,
-Jason


 
F is for finger. Can you stick your finger in your nose? Doesn't that feel nice? Now try this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!