Category : java

I have to create a binary like data structure like below:- Tree Where each node represents a user profile. When a user will create a profile, they would enter their parent’s user ID(for example A01) and choose their orientation(left/right), For example, the new user while creating their account puts in A01 as their parent and ..

Read more

I would like to load 3d model at runtime and render it using SceneView (Sceneform). Format of my model is obj. Scene view only supports gltf/glb when loading at runtime. Is there any solution to convert obj to gltf/glb? Alternatively, construct gltf/glb from vertices and faces? The solution must work on Android. It can be ..

Read more

I would like to find out if and which active directory user started my windows java application. I can’t use System.getProperty("user.name")/System.getenv("USERDOMAIN") because security reasons. Advapi32Util.getUserName() and NTSystem.getName() only seem to return the local user, but not the active directory user who started the application. Thanks in advance Source: Windows..

Read more

I have generated an exe file using jpackager in windows, when I install it and try to run, their is no any response. Here is how I generated it: jpackage -t exe –name "wetu" –app-version 1.0 –input "F:dist" –dest "F:" –main-jar "WetuLantern.jar" –icon "F:icon.ico" –module-path "F:javafx-jmods-16" –add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.base –win-shortcut –win-menu Any ideas on how to ..

Read more