bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/28135] New: JScrollPane.propertyChange needs to be implemente


From: hendrich at informatik dot uni-hamburg dot de
Subject: [Bug swing/28135] New: JScrollPane.propertyChange needs to be implemented
Date: 22 Jun 2006 07:36:52 -0000

Another Swing buglet: JScrollPane has two stub methods, namely
propertyChange() and stateChanged().


For better readability, I prefer a small border around my JTextAreas when
embedded into a JScrollPane, like such:

    ta = new JTextArea( n_rows, n_cols );
    ta.setEditable( false );
    JScrollPane scroller = new JScrollPane( ta );
    scroller.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
    scroller.setViewportBorder( new EmptyBorder(5,5,5,5) );

But the border doesn't show up in classpath. If my analysis is correct,
setViewportBorder() correctly generates a firePropertyChange() which finally 
calls back to propertyChanged() - which is currently empty.


-- 
           Summary: JScrollPane.propertyChange  needs to be implemented
           Product: classpath
           Version: 0.92
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: swing
        AssignedTo: roman at kennke dot org
        ReportedBy: hendrich at informatik dot uni-hamburg dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28135





reply via email to

[Prev in Thread] Current Thread [Next in Thread]