Questions tagged as 'java'

0
answers

Problem with paths in JAVA

I'm on a project and I encounter the following problem. A part of the code has the following: Path caminho2 = Paths.get("C:\Users\Evandro\Documents\Java\Player beta 0.9\src\Capas\Gifs".replace("\", "/")); List<Path> listaCap...
asked by 01.11.2018 / 02:20
1
answer

How do I create a simple multiline accordion with Java and Totalcross?

I looked at their example in github but they show how to make a kind of input (a multiedit) for the person to type and not a multiline label.     
asked by 01.11.2018 / 14:20
0
answers

Receive data from an arduino sensor for Android app (Android Studio)

Good evening! I need a help with the application that I am developing, I will make the bluetooth connection of my Arduino with the android application and everything is ok, I can connect and disconnect but I do not know how to receive data from...
asked by 16.10.2018 / 04:17
0
answers

Error Calling Java Fx Screens in Spring

I'm developing a Spring + Java Fx application, when calling the code from the main class screen, it works normally, but if I call another screen, it does not write the information in the model and gives null pointer exception, how I managed the...
asked by 08.10.2018 / 22:53
1
answer

Cacerts file path to javax.net.ssl.trustStore does not work in .war

I need to set the path of a cacerts file to the trustStore, to do this I did: String keystore = "src/main/resources/cacerts"; System.setProperty("javax.net.ssl.trustStore", keystore); When running the project through the STS IDE (Spring boo...
asked by 10.10.2018 / 22:44
1
answer

Operations at JPA

Good morning I'm developing an application in which the user has to inform the system of a list of exams and the system to display the laboratory units that perform such exams, but I have a question about the way in which to record in the bank t...
asked by 10.10.2018 / 16:27
1
answer

How do I automatically perform an action at the end of a video?

Follow the video code package video; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.layout.StackPane; import javafx.scene.media.Media; import javafx.scene.media.MediaPlayer; import javafx.scene.media.Me...
asked by 18.11.2018 / 23:40
0
answers

SQLite does not insert data into the database during an AsyncTask

I'm trying to add data in the DB inside an AsyncTask. In it I get the InputStream coming from an httpURLConnection, interpreting the JSON and saved in the local SQLite. But I do not even know if this is the best "practice" to do ......
asked by 06.12.2018 / 14:43
1
answer

NullPointer Java Even though the variable was initialized

I'm having a problem to set a label from another controller, my project is structured as follows: FilmeOverviewController, is the overview that contains a tableview, in that tableview you can select the movie and etc, then I created a handle for...
asked by 10.06.2018 / 00:13
0
answers

Spring data Jpa implement generic methods

I have 3 services with these methods in common create() , deleteById() , findAll() , getById() and update() . @Service public class AutorService {create(),deleteById(),findAll(),getById(),update(), etc...} @Servi...
asked by 23.11.2018 / 00:23