Bellowing is the steps to reproduce the problem:
-
generate seesaw project template
lein new hello-seesaw
<data/code/hello-seesaw/project.clj>
-
Add seesaw to Leiningen
project.clj
(defproject hello-seesaw "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" :url "https://www.eclipse.org/legal/epl-2.0/"} :dependencies [[org.clojure/clojure "1.10.1"] [seesaw "1.5.0"]] :repl-options {:init-ns hello-seesaw.core})
-
Now load project source files with CIDER and evaluate the
-main
function insrc/hello_seesaw/core.clj
file:(ns hello-seesaw.core (:use seesaw.core)) (defn -main [& args] (invoke-later (-> (frame :title "Hello", :content "Hello, Seesaw", :on-close :exit) pack! show!)))
-
It displays seesaw window, I closed it. Then CIDER REPL buffer displays red message reports that CIDER is closed.
CIDER version: 0.26.1
Emacs version: 28.0.50