I have a jFrame
along with jScrollPane
in this jScrollPane
there are few other component such as jTextField
jTextArea
jTable
etc.. (this form I have designed with NetBeans form designer)
jScrollPane
(the Parent Component) has vertical scroll bar and it scroll with the mouse wheel. But when mouse move on a jTextArea
or a jTable
(they have there own scroll bars) Mouse Wheel focus goes to them and scrolling them instead of scrolling jScrollPane
. I want to keep scroll focus on jScrollPane
without going it to any other component in it.