Mercurial > hg > indyvon
changeset 173:8769a7b50b4f
Fixed a reflection warning.
author | Mikhail Kryshen <mikhail@kryshen.net> |
---|---|
date | Wed, 10 Dec 2014 19:00:17 +0300 |
parents | 0394465ce1e2 |
children | f4b82e358751 |
files | src/indyvon/component.clj |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/indyvon/component.clj Wed Dec 10 18:59:20 2014 +0300 +++ b/src/indyvon/component.clj Wed Dec 10 19:00:17 2014 +0300 @@ -75,8 +75,8 @@ ([title view] (let [f (atom nil)] (EventQueue/invokeAndWait - #(doto (reset! f (make-jframe title view)) - (.setDefaultCloseOperation javax.swing.JFrame/DISPOSE_ON_CLOSE) + #(doto ^JFrame (reset! f (make-jframe title view)) + (.setDefaultCloseOperation JFrame/DISPOSE_ON_CLOSE) (.setVisible true))) @f)))