可以使用See-saw类的alert方法显示模式对话框,该方法采用文本值,该文本值需要在模式对话框中显示。
(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/alert "Hello World"))
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)