Created
August 4, 2011 02:05
-
-
Save daveray/1124352 to your computer and use it in GitHub Desktop.
proxy-super on protected method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> (proxy [javax.swing.JPanel] [] | |
(paintComponent [^java.awt.Graphics g] | |
(let [^javax.swing.JPanel this this] | |
(proxy-super paintComponent g)) | |
(.fillRect g 100 100 10 10))) | |
Reflection warning, NO_SOURCE_PATH:27 - call to paintComponent can't be resolved. | |
#<JPanel$0 user.proxy$javax.swing.JPanel$0[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment