This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JScrollPane problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JScrollPane problem" Watch "JScrollPane problem" New topic
Author

JScrollPane problem

Anirban dutta
Ranch Hand

Joined: Aug 08, 2002
Posts: 89
Dear all,
Can anybody please tell me that whether it is possible to find whether a component(say a TextField) is totally inside the ScrollPane's visible region or not. Actually the problem is that I have many textfields inside a panel which is inside a ScrollPane. Now whenever the focus goes to any textfield then I want to check that whether the TextField is completely visible or not. If not then I want to programatically scroll so that the textfield is visible. Please guide me on how to do this.
Thanks and Regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JScrollPane problem
 
Similar Threads
JComboBox Problem
Help with choice group..
A4j issue
Convert String to ASCII in the AWT Textfield
jasper report textfield stretch problem