Please help this newbie out!

2013-01-08 Thread Jacob Goodson
(let [frame (doto (JFrame.) (.setSize 100 100)) height (.getHeight a) width (.getWidth a) image (.createImage a b c)] image) Why does this return nil? Thank you! -- You received this message because you are subscribed to the Google Groups

Re: Please help this newbie out!

2013-01-08 Thread juan.facorro
I think the code you posted might not be the working code since a, b and c don't seem to exist in it. :P Check out the docs for the createImage(int, int)http://docs.oracle.com/javase/7/docs/api/java/awt/Component.html#createImage(int, int) method: *Returns:**an off-screen drawable image,

Re: Please help this newbie out!

2013-01-08 Thread Jacob Goodson
Whoops! I changed the code to be more readable, those were my previous values...argh! I read the documentation over and over and never noticed that...sigh. Thank you for the response. On Tuesday, January 8, 2013 9:57:13 PM UTC-5, juan.facorro wrote: I think the code you posted might not