Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
Filter by
Sorted by
Tagged with
3 votes
1 answer
54 views

Accessing the window from a menu item in Cljfx

How can I access the main window (:stage) from a menu click event in Cljfx? I need it for two reasons: to open a file chooser, and to resize the window. A minimal example: (ns a (:require [cljfx.api ...
kamwitsta's user avatar
  • 460
0 votes
1 answer
44 views

Cannot call a particular java method listed in clojure.reflect/reflect

I am having no luck calling advanceExact in various Lucene DocValues subclasses, for example: user> (.advanceExact doc-values 1) Execution error (IllegalArgumentException) at user/eval24512 (REPL:...
Ryan Tate's user avatar
  • 1,603
1 vote
1 answer
30 views

How to correctly integrate java source into a leiningen project?

This is my java source file: package main; class ModelLoader { public static void foo() { System.out.println("foo"); } } which is located at src/main/java/ModelLoader.java. ...
user1785730's user avatar
  • 3,759
0 votes
0 answers
50 views

How to load model data directly into an OpenGL buffer?

With this code I read the model data into a FloatBuffer, one float at a time: (defn create-vertex-buffer [mesh] (let [buffer (BufferUtils/createFloatBuffer (* (.mNumVertices mesh) 8)) ...
user1785730's user avatar
  • 3,759