From 6bed289add575b5fa3e7864be2bfd3235a69b3c9 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Wed, 22 Apr 2020 20:09:37 +0200 Subject: [PATCH] compat fix --- src/be/nikiroo/utils/compat/JList6.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /** -- 2.27.0