dear all,
I have made one program, but i am stuck with one problem.
I have taken one scrollpane in simple desktop GUI application in java.
My hierarchy of Scroll pane is as below.
JFrame
|_JTabeedPane
|_JScrollPane
|_JPanelMain
|_Jpanel
|_JPanelA
|_JPanelB
Now all the components are in JPanelA and JPanelB.
So when i press TAB,it traverse through all textboxes, but problem is it is not automatically scrolls down.
TAB is working perfectly, so when i press TAB it goes to text box one by one,but it doesn't display the element outside the screen area.
So it will not auomatically scoll down.
I am using Netbeans 7.2 and also i have set property of the Scrollpane i.e. Auto Scroll=true.
But still it's not working.
Please tell me what to do now.Or which property i have to explicitly call on this scroll pane.
Thank you.