From 0c369adb8c0ffd33d892fe5fa1c8fc7690a853f1 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 22 Apr 2020 20:09:37 +0200 Subject: [PATCH] compat fix --- compat/JList6.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/JList6.java b/compat/JList6.java index e0aea42e..ca441650 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); } /** -- 2.27.0