1.2.0 permalink Arrow_down_16x16

open-url-in-swing

clojure.contrib.javadoc.browse

  • (open-url-in-swing url)
Opens url (a string) in a Swing window.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/javadoc/browse.clj:41 top

(defn open-url-in-swing
 "Opens url (a string) in a Swing window."
 [url]
  ; the implementation of this function resides in another namespace to be loaded "on demand"
  ; this fixes a bug on mac os x where requiring repl-utils turns the process into a GUI app
  ; see http://code.google.com/p/clojure-contrib/issues/detail?id=32
  (require 'clojure.contrib.javadoc.browse-ui)
  ((find-var 'clojure.contrib.javadoc.browse-ui/open-url-in-swing) url))
Vars in clojure.contrib.javadoc.browse/open-url-in-swing: open-url-in-swing defn find-var require
Used in 0 other vars

Comments top

No comments for open-url-in-swing. Log in to add a comment.