(set! *warn-on-reflection* true)
(proxy [javax.swing.JPanel] []
(paintComponent [#^java.awt.Graphics g]
(proxy-super paintComponent g)
(.fillRect g 100 100 10 10)))
"Reflection warning, call to paintComponent can't be resolved"
(set! *warn-on-reflection* true)
(proxy [javax.swing.JPanel] []
(paintComponent [#^java.awt.Graphics g]
(proxy-super paintComponent g)
(.fillRect g 100 100 10 10)))
"Reflection warning, call to paintComponent can't be resolved"
It looks like the warning is for the line
(proxy-super paintComponent g)
Does the parent class of javax.swing.JPanel have a paintComponent method?
Removing that line works for me.