This week's book giveaway is in the Testing forum. We're giving away four copies of The Way of the Web Tester: A Beginner's Guide to Automating Tests and have Jonathan Rasmusson on-line! See this thread for details.
Hello! I have JTextPane component in my application, which is wraped in JScrollPane. It was function good, until I added MouseWheelListener to JTextPane (I use it to change font size when CTRL is pressed). After that it is impossible to scroll text with mouse wheel. How can I return default behaviour of the component and save my listener?
posted 10 years ago
I've solved this problem. I just write this at the end of my handler