This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Event when displaying scrollbar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Event when displaying scrollbar" Watch "Event when displaying scrollbar" New topic
Author

Event when displaying scrollbar

Andreas Bystrom
Ranch Hand

Joined: Mar 05, 2003
Posts: 32
Hi all!
I have a scrollpane where the items shown is "tabbed" up from left to rigth in the pane. It is name (a tab) number (a tab) date ant that covers the entire scrollpane (this to make som space between the different colums).
Now when it is to many items in the list to show, a vertical scrollbar is added, I have set

My problem is that when the scrollbar is displayed, all my text dont fit in the scrollpane. What I need to do is to change the tabs when the scrollbar is added or removed. My question is if there are some event that will trigger when the scrollbar is added or deleted? If not, is there some other way to solve this?
Thanks in advance,
Andreas
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Event when displaying scrollbar
 
Similar Threads
Set scrollbar to top
multiple lists for one scroll bar
Scrollpane
ScrollPane problem
problem with spacing of text in JTextArea