[beginner] How do I make a button that could interact with indicator?
HI everyone, I am new to Clojure in terms of practice. I like the philosophy of Clojure and I want to start using it. I need to build a simple model: button and indicator (progress bar). Button interacts with indicator. That's it. When the button is pressed - indicator fills, when the button is not pressed - indicator depletes. Where do I start? Give me a hint. Thanks. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beginner] How do I make a button that could interact with indicator?
Two hints: http://clojure.org/java_interop http://docs.oracle.com/javase/7/docs/api/javax/swing/package-summary.html On Sat, Jan 11, 2014 at 2:45 AM, Mark Johns m3nt...@gmail.com wrote: HI everyone, I am new to Clojure in terms of practice. I like the philosophy of Clojure and I want to start using it. I need to build a simple model: button and indicator (progress bar). Button interacts with indicator. That's it. When the button is pressed - indicator fills, when the button is not pressed - indicator depletes. Where do I start? Give me a hint. Thanks. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beginner] How do I make a button that could interact with indicator?
A Clojure Swing wrapper (and more!): https://github.com/daveray/seesaw On Jan 11, 2014, at 4:45, Mark Johns m3nt...@gmail.com wrote: HI everyone, I am new to Clojure in terms of practice. I like the philosophy of Clojure and I want to start using it. I need to build a simple model: button and indicator (progress bar). Button interacts with indicator. That's it. When the button is pressed - indicator fills, when the button is not pressed - indicator depletes. Where do I start? Give me a hint. Thanks. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [beginner] How do I make a button that could interact with indicator?
To echo the Swing suggestion - Try the Seesaw REPL experiment! I think this is it: https://gist.github.com/daveray/1441520 -- -- 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 Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.