java.lang.Object | |
↳ | org.apache.log4j.lf5.viewer.LF5SwingUtils |
Provides methods to accomplish common yet non-trivial tasks with Swing. Obvious implementations of these methods have been tried and failed.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Makes the specified Adjustable track if the view area expands and
the specified Adjustable is located near the of the view.
| |||||||||||
Makes the vertical scroll bar of the specified JScrollPane
track if the view expands (e.g.
| |||||||||||
Selects a the specified row in the specified JTable and scrolls
the specified JScrollpane to the newly selected row.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Work around for JTable/viewport bug.http://developer.java.sun.com/developer/bugParade/bugs/4205145.html
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Makes the specified Adjustable track if the view area expands and the specified Adjustable is located near the of the view.
Makes the vertical scroll bar of the specified JScrollPane track if the view expands (e.g. if rows are added to an underlying table).
Selects a the specified row in the specified JTable and scrolls the specified JScrollpane to the newly selected row. More importantly, the call to repaint() delayed long enough to have the table properly paint the newly selected row which may be offscre
table | should belong to the specified JScrollPane |
---|
Work around for JTable/viewport bug.http://developer.java.sun.com/developer/bugParade/bugs/4205145.html