1. How to get a correct visible rect during a validateTree? stackoverflow.comFirst to describe the problem: During a re-layout due to a change in width or height, Java's ScrollPaneLayout requests the preferredSize of it's children BEFORE setting the bounds of it's viewport. On ... |
2. Maintaining previous position in an EditorPane when the text is refreshed stackoverflow.comThis is a problem that has vexed me for a number of years. The user is scrolling through a text document contained in an JEditorPane which is in turn ... |
3. Positioning the scroll bar.. coderanch.com |
4. JScrollPane: Set Scroll Position coderanch.comThe soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - ... |
5. Using Absolute Layout and not getting Scroll Bar coderanch.comOriginally posted by Shivashankar Gurumurthy: The problem is when i set the layout to null to override the default settings of panel scroll bar is not coming. You have more problems than just the scroll bar not showing up, don't you? For example, isn't frame.pack() resulting in a frame so small you can barely see it? I don't recommend setting the ... |
6. Positioning scroll bar coderanch.comYou've already been given the answer. If it doesn't work, then there is something wrong with your code and I know I'm not a mind reader so I can't solve it without seeing the code. I've already helped you several times in the past, apparently you don't want my help in the future. If you don't want the help thats fine ... |