seesaw icon indicating copy to clipboard operation
seesaw copied to clipboard

tabbed-panel broken config

Open paulrd opened this issue 12 years ago • 1 comments

When I call:

(config (tabbed-panel) :tabs)

I get: IllegalArgumentException No getter defined for option :tabs seesaw.util/illegal-argument (util.clj:19)

(config! (tabbed-panel) :tabs [{:title "hello" :content "hi"}]))

Seems to work fine however.

I'm using seesaw 1.4.3 from clojars.

paulrd avatar Mar 12 '13 17:03 paulrd

Hi. I think this is just an oversight, possibly because I wasn't sure what :tabs should return in the read case.

Depending on what you want to do, using one of the getXyzAt(...) methods on JTabbedPane is the current workaround.

http://docs.oracle.com/javase/6/docs/api/javax/swing/JTabbedPane.html

daveray avatar Mar 12 '13 19:03 daveray