Scroll « Dialog « Java Swing Q&A





1. Scrolling for JDialog    coderanch.com

Hi, i have a JDialog with quite a no. of components in it. the requirement is that the dialog should be resizable. but when a user resizes the dialog , the sizes of the components should not change nor the relative position and horizontal or vertical scrollbars have to appear according to the size so that the user can use these ...

2. Scrolling with JDialog    coderanch.com

3. Dialog with scroll bar for text and resizable    coderanch.com

aniketh kumar wrote:Hi All, I want to create a confirmation dialog with text inside having a vertical and horizontal scrollbar also a option to user to resize the dialog. I tried doing this in following way but that doesnt work whenever I try to resize in vertical way the pane also goes to bottom and doesnt resize. Following is the snippet ...

5. How to make a JDialog scrolling from one position to the other.    forums.oracle.com

In the future, Swing related questions should be posted in the Swing forum. Use a Swing Timer to animate the motion and then use setLocation() and setSize() to manipulate the dialog the way you want. I've seen examples posted in the Swing forum maybe you can find them if your search the forum.