可以使用" config!"选项更改窗口中内容的值。在以下选项中,config! 选项用于将窗口内容更改为"Good bye"的新值。
(ns web.core (:gen-class) (:require [seesaw.core :as seesaw])) (def window (seesaw/frame :title "First Example" :content "hello world" :width 200 :height 50)) (defn -main [& args] (seesaw/show! window) (seesaw/config! window :content "Good Bye"))
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)