On Sun, Jan 30, 2011 at 1:47 PM, Jonas Enlund wrote:
> user=> (.write text-area-writer "Hello, World!")
> ArityException Wrong number of args (2) passed to: user$fn--38$fn
> clojure.lang.AFn.throwArity (AFn.java\
> :439)
> user=> (pst)
> ArityException Wrong number of args (2) passed to: user$fn--
On Sun, Jan 30, 2011 at 8:39 PM, Ken Wesson wrote:
> On Sun, Jan 30, 2011 at 1:35 PM, Jonas Enlund wrote:
>> On Sun, Jan 30, 2011 at 7:01 PM, Ken Wesson wrote:
>>> On Sun, Jan 30, 2011 at 9:26 AM, Jonas Enlund
>>> wrote:
Hi.
I'm trying to create a java.io.Writer proxy (which writes t
On Sun, Jan 30, 2011 at 1:35 PM, Jonas Enlund wrote:
> On Sun, Jan 30, 2011 at 7:01 PM, Ken Wesson wrote:
>> On Sun, Jan 30, 2011 at 9:26 AM, Jonas Enlund wrote:
>>> Hi.
>>> I'm trying to create a java.io.Writer proxy (which writes to a
>>> JTextArea) but I can't get it to work.
>>> Here is my c
On Sun, Jan 30, 2011 at 7:01 PM, Ken Wesson wrote:
> On Sun, Jan 30, 2011 at 9:26 AM, Jonas Enlund wrote:
>> Hi.
>> I'm trying to create a java.io.Writer proxy (which writes to a
>> JTextArea) but I can't get it to work.
>> Here is my clojure code so far:
>>
>> (def text-area (javax.swing.JTextAr
On Sun, Jan 30, 2011 at 9:26 AM, Jonas Enlund wrote:
> Hi.
> I'm trying to create a java.io.Writer proxy (which writes to a
> JTextArea) but I can't get it to work.
> Here is my clojure code so far:
>
> (def text-area (javax.swing.JTextArea.))
>
> (def frame
> (let [f (javax.swing.JFrame.)]
>
Hi.
I'm trying to create a java.io.Writer proxy (which writes to a
JTextArea) but I can't get it to work.
Here is my clojure code so far:
(def text-area (javax.swing.JTextArea.))
(def frame
(let [f (javax.swing.JFrame.)]
(.. f getContentPane (add text-area))
(.setMinimumSize f