I am successfully parsing and evaluating a javascript file with Duktape in my Android application using Kotlin. val file_name = "lib.js" val js_string = application.assets.open(file_name)....

I want the functionality of the Stanford Core NLP, written in java, to be available in C++. To do this I am making use of the Java Native Interface. I have a Java object that wraps multiple functions ...

I have code like this: TextBox txt = new TextBox(){ public void onLoad(){ this.addFocusHandler(new FocusHandler(){ //some codes here //if I use "this" keyword, it refers to the ...

someArray.splice(a,b,...) method in JavaScript adds or removes items to/from array. What could be good and simple solution to implement such method in Java language? Assume we have String[] array.

I need to get a Google map key for my application and, for this, I need the MD5 signature of my certificate. As seen on the Internet, I use "keytool" to get it : keytool -list -alias mykey -keystore ...

I have a spring boot application which reads some passwords from an xml while, which is not part of the jar. It has to be in a separate folder. How can I add this xml file to the classpath so that ...

I have two scroll panes that I am trying to set the scroll bars to always be visible. For some reason when I try to use the code (scroll code) below, I get an error that "The method ...

Is it possible to display a web applet inside a java application's window? It would be preferable if you could give an example code, as I am rather newbish with java.

I am trying to run the SimulationStarted class with the moving average strategy in the open source edition of AlgoTrader. When I start the SimulationStarter I get ArrayIndexOutOfBoundsException. I ...