src/macosx/classes/sun/lwawt/LWListPeer.java

Print this page

        

*** 243,252 **** --- 243,261 ---- if (getView() != null) { getView().setOpaque(isOpaque); } } + @Override + public void setFont(Font font) { + super.setFont(font); + if (getView() != null) { + getView().setFont(font); + LWListPeer.this.revalidate(); + } + } + private final class JListDelegate extends JList<Object> { JListDelegate() { super(ScrollableJList.this.model); }