> I see you didn't override getPreferredSize in your JPanel proxy and > instead call setSize on the JFrame. When I did that I found that the > size included the JFrame title bar. That meant that the usable area > wasn't as tall as what I wanted. That's why I decided to size the > panel instead and then pack the frame.
Yes, I need to fix this. > I'm curious why you decided not to surround the names of constants > with asterisks. I see you did use asterisks around snake and apple. > I'm still confused about whether there's a convention for that. I like to use the *form* for names that might be dynamically rebound. Thinking about removing them from snake and apple as well. > Why did you decide not to use structmaps for the snake and the apple? As I only create them in one place it seemed like overkill. Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---