Questions tagged as 'java'

0
answers

How can I create a completed auto in a JavaFX TextArea?

I am trying to create an Auto-Completed JavaFX , but that the Auto-Completed is at TextArea , but I can not find the way to do it. However, I've seen the way to do an Auto-Completed in a TextField but it's not what I need, sin...
asked by 10.07.2018 / 21:30
2
answers

why when I try to open my excel document (generated by a Jtable) does it mark me an error?

When clicking on export, it is supposed that an excel is generated with the data of the Jframe. The problem is that when opening the Excel it marks me error saying that the format or the extension is wrong This is the code: import java....
asked by 11.07.2018 / 15:28
1
answer

Help with the error: can not call getOutputStream () after getWriter (), when trying to perform a file download in java?

I have the following method in the controller, which returns a json type response to the view, to show in a dialog whether or not there is data in the bd according to the information of the parameters that happened to my service. @Req...
asked by 13.06.2018 / 04:51
1
answer

Error with the BioMini Plus 2 fingerprint reader

I recently made a fingerprint reader for the company where I currently work. Use the Bio Mini Plus , the example code worked correctly, and all good, as we expanded as a company, bought new equipment but these are Bio Mini Plus 2 and boot the...
asked by 12.06.2018 / 20:21
1
answer

Value of columns per row of excel java

I'm trying to get the values of the cells that form a row of an excel document. The point is that I recover all of them in a row but I would like to recover the value of a specific cell. I put the code here. Thanks in advance. public void l...
asked by 11.06.2018 / 23:28
0
answers

Scan documents with Java

I am trying to use a scanner with CmdTwain and Java to scan documents. The problem is that it does not always work. The other problem is that even with the installed drivers does not work on all computers, even if they all have the same OS, Wind...
asked by 26.06.2018 / 15:17
1
answer

Error in parison of a json with gson in android

The problem I have is that basically, when I'm going to print the data, I already have toast, or with anything it brings me null data, the particular thing is that I print the toast for the times of data that are in the json, but all the data it...
asked by 11.06.2018 / 21:24
0
answers

How do I make an integer vector without knowing its Java length

I need to store the prime divisors of an 'x' number in an array Since I do not know how many prime divisors that number has, I can not determine the size of the array. import java.util.Scanner; public class vectorDivisoresPrimos { public...
asked by 09.06.2018 / 14:14
2
answers

How to access a Connection type variable from another claSe?

you can have a class from: Conection cn; cn=DriverManager.getConnection("jdbc:mysql://localhot:3306/BD","root","pass"); // and from another class, which is the one that inserts a record, call the connection variable "cn"? The idea is to...
asked by 15.06.2018 / 02:11
1
answer

Do not load Admob test ads

I have a problem, a while ago I started to try the Rewarded test ads with Admob, everything went well! Now that I wanted to try the test ads again they do not come out, I even create a new project and implement only the Rewarded and it does not...
asked by 08.06.2018 / 02:14