|
-
Sep 30th, 2003, 04:24 PM
#1
Thread Starter
Addicted Member
Scroll a JPanel
Hi
Is there a way to make a JPanel scroll. I know it can be done using the JViewPort and JScrollbars, and implementing the JScrollable interface, but does anyone have anything like that already that i might be able to use. I guess i'm being lazy, but i'm also short on time.
I need to be able to scroll a panel, because on that i'm creating shapes, that are dynamically made and added, thus if the height of the total shapes changes, then it goes off the panel.
If the Jpanel is not scrollable, are there alternatives to this probelm?
Any input is appreciated..Thanx in advance
--770
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|