I have a problem with seesaw table. When I try to make up and show a simple table, it shows without column names.
What I did:
At first, I must say that I am using [seesaw "1.4.2"]
.
Then:
;; Clojure 1.4.0
(require '[seesaw.core :as ss])
(ss/native!)
(def main-window
(-> (ss/frame
:title "Main window")
ss/pack!
(ss/config! :minimum-size [320 :by 240])
ss/show!))
(def display
#(ss/config! main-window
:content %))
(display
(ss/table
:id :dumb-table
:model [:columns
[:one :another]
:rows
[["1" "2"]
["3" "4"]]]))
(source: leprosorium.com)
Table appears, but without column names, which, I guess, must be "one" and "another". What went wrong here?
It happens also if I use exactly the same code as in official wiki: https://github.com/daveray/seesaw/wiki/Tables
Update:
I forgot to mention, I'm using JDK 1.7u10, maybe it makes sense.