Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
;
:aliases { "examples" ["run" "-m" "seesaw.test.examples.launcher"] }

:dependencies [[org.clojure/clojure "1.4.0"]
:dependencies [[org.clojure/clojure "1.12.5"]
[com.miglayout/miglayout "3.7.4"]
[com.jgoodies/forms "1.2.1"]
[com.jgoodies/jgoodies-forms "1.9.0"]
[org.swinglabs.swingx/swingx-core "1.6.3"]
[j18n "1.0.2"]
[com.fifesoft/rsyntaxtextarea "2.5.6"]]
[com.fifesoft/rsyntaxtextarea "3.6.2"]]
:profiles { :dev {:dependencies [[com.stuartsierra/lazytest "1.1.2"]
[lein-autodoc "0.9.0"]]}}
:repositories [["stuartsierra-releases" "https://stuartsierra.com/maven2"]]
Expand Down
1 change: 0 additions & 1 deletion src/seesaw/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2890,7 +2890,6 @@
(cond
(nil? w) w
(instance? java.awt.Window w) w
(instance? java.applet.Applet w) w
(instance? javax.swing.JPopupMenu w)
(let [^javax.swing.JPopupMenu w w]
(if-let [p (.getParent w)]
Expand Down
6 changes: 0 additions & 6 deletions test/seesaw/test/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1218,12 +1218,6 @@
(.isLocationByPlatform (frame))))

(describe to-root
(it "should convert a widget to its parent applet"
(let [c (label :text "HI")
a (javax.swing.JApplet.)]
(.add a c)
(expect (= a (to-root c)))))

(it "should convert a widget to its parent frame"
(let [c (label :text "HI")
f (frame :content c)]
Expand Down
2 changes: 1 addition & 1 deletion test/seesaw/test/examples/j18n.clj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
; You must not remove this notice, or any other, from this software.

(ns seesaw.test.examples.j18n
(use [seesaw.core]
(:use [seesaw.core]
seesaw.test.examples.example))

(defexample []
Expand Down