Questions tagged as 'java'

1
answer

Project Nashorn, javascript + java?

I found the approach interesting after studying deeper education bytecode InvokeDynamic . But I have doubts about the design and practical use. Will the javac natively understand the javascript block and will it generate the bytecode from...
asked by 27.06.2015 / 23:06
1
answer

Error java.lang.NumberFormatException: Invalid double: ""

When I run my app, the error appears: java.lang.NumberFormatException: Invalid double: "" I do not know what to do. The error happens when I leave a blank value, for example, the app makes the sum of 2 numbers if the user types o...
asked by 25.05.2016 / 03:44
1
answer

Create SplashScreen to show file copy progress

I'm trying to create a splashscreen because when my application is open I take some time-consuming actions, like: Copy files Run an .exe My Main looks like this: import com.sun.javafx.application.LauncherImpl; @Suppress...
asked by 18.06.2016 / 05:36
1
answer

Formatting Time using initBinder

I need to get the time with the formatting "hh: mm" but it is not working, follow the error also to specify:    Whitelabel Error Page This application has no explicit mapping for   / error, so you are seeing this as a fallback. Tue Dec 18...
asked by 18.12.2018 / 17:00
1
answer

Creating doc or docx file [closed]

I wanted to know if there is any lib capable of creating a doc or docx file straight from an android app. I've tried apache poi, but it does not work. I'm using android studio. I have tried in many ways but I can not, if anyone can help me thank...
asked by 02.02.2016 / 07:01
2
answers

How to preprocess a text for the application in the Weka classification algorithms in Java?

I'm doing my CBT where the idea is roughly part of collecting tweets and training a machine learning algorithm to sort this data. As I would pre-process this tweet, the idea being to train a machine-learning algorithm with inputs, where it...
asked by 28.04.2014 / 15:57
2
answers

Jboss - "Unable to get managed connection for java: / AppDS"

The following exceptions are occurring in my application: 10:52:34,506 ERROR [br.com.app.dao.NotificacaoDAO] (http--0.0.0.0-8080-77) java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:/...
asked by 22.02.2014 / 00:53
2
answers

How, when you click on the notification, delete the notification and not open the application?

I need to send a notification but would like it when the user clicks the notification it is deleted and does not open the application The part of generating the notification is already working. I could not stop the application from being open...
asked by 12.02.2016 / 21:15
1
answer

Notifications with Spring

How to implement a system of notifications that receive a real-time counter of notifications example: My question is that when you insert another bank in the bank and pass from 4 to 5 if you update in the same session as fast as possibl...
asked by 14.03.2016 / 15:09
1
answer

Difference between methods to close JFrame and JDialog after keyboard event

I need to deploy to a desktop application built using swing , a way for the JFrame master to close the application when the user clicks ESC , and the JDialogs daughters of this%
asked by 17.02.2016 / 17:09