seesaw
seesaw copied to clipboard
tabbed-panel broken config
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.
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