From: Niki Roo Date: Wed, 22 Apr 2020 18:09:37 +0000 (+0200) Subject: compat fix X-Git-Tag: fanfix-3.1.2~20^2~4 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=0c369adb8c0ffd33d892fe5fa1c8fc7690a853f1;p=fanfix.git compat fix --- diff --git a/compat/JList6.java b/compat/JList6.java index e0aea42..ca44165 100644 --- a/compat/JList6.java +++ b/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); } /**