Clojure 中的 Desktop – Changing the

首页 / Clojure入门教程 / Clojure 中的 Desktop – Changing the

可以使用" 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"))
Flutter Install


祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)

技术教程推荐

技术领导力实战笔记 -〔TGO鲲鹏会〕

程序员进阶攻略 -〔胡峰〕

程序员的数学基础课 -〔黄申〕

系统性能调优必知必会 -〔陶辉〕

微信小程序全栈开发实战 -〔李艺〕

爱上跑步 -〔钱亮〕

小马哥讲Spring AOP编程思想 -〔小马哥〕

恋爱必修课 -〔李一帆〕

遗留系统现代化实战 -〔姚琪琳〕

好记忆不如烂笔头。留下您的足迹吧 :)