From: Niki Roo Date: Wed, 22 Apr 2020 18:09:37 +0000 (+0200) Subject: compat fix X-Git-Tag: fanfix-swing-0.0.1~4 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=6bed289add575b5fa3e7864be2bfd3235a69b3c9;p=fanfix-swing.git compat fix --- diff --git a/src/be/nikiroo/utils/compat/JList6.java b/src/be/nikiroo/utils/compat/JList6.java index e0aea42e..ca441650 100644 --- a/src/be/nikiroo/utils/compat/JList6.java +++ b/src/be/nikiroo/utils/compat/JList6.java @@ -27,7 +27,7 @@ public class JList6 extends JList { * instead */ public void setCellRenderer(ListCellRenderer cellRenderer) { - setCellRenderer((ListCellRenderer6) cellRenderer); + super.setCellRenderer(cellRenderer); } /** @@ -59,7 +59,7 @@ public class JList6 extends JList { @Override @Deprecated public void setModel(ListModel model) { - setModel((ListModel6) model); + super.setModel(model); } /**