Questions tagged as 'java'

2
answers

Primefaces filedownload does not download

Good afternoon, I have an application where I use Primefaces, ManagedBeans, Spring and Hibernate, I'm making a button to download a PDF file by passing the route as a parameter. Doing Debug, I see that if it executes, but the stream is returned...
asked by 09.01.2018 / 17:09
2
answers

Error Too many connections

I was creating my querys and suddenly The issue is that I can not continue with the development of my program I leave the code of my connection import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; i...
asked by 14.01.2018 / 17:27
0
answers

bring an image from sql server to android

good afternoon people, the consultation, basically it is, I have an image in a sql server database (varbinary), and I bring it through a json with a restful service done with node, along with other data; when I bring it from the json, I treat it...
asked by 09.01.2018 / 17:23
1
answer

Form minesweeper board

Hello everyone and thanks in advance. I'm trying to do a very basic looking mines, but first I have to draw the "board" and I'm a bit stuck with that. I'm doing it with Java swing. With a Jframe and inside two Jpanel, one in which I enter the...
asked by 14.01.2018 / 22:59
2
answers

Because when I search by name does not find the name inside the ArrayList?

In a file we store the data of the clients of a company with the format name, location. The program will copy that data into an ArrayList so that the user can choose between viewing the customer data of a locality or searching between the names....
asked by 11.01.2018 / 12:56
0
answers

I try to modify a data in SQLite from a custom ListView item but they are all changed when modifying one

First question I ask in stackoverflow because I'm confused, I try to change a data in SQLite from a custom ListView and it turns out that all the data is changed and I just want to change the one of the selected item. I try to change just one da...
asked by 11.01.2018 / 02:30
1
answer

separate objects

My problem is that I need to separate an Object and I do not even know if it can be done. In the software the user must enter a desired number of players registered in a DB by first and last name, then call that list to put it in a table vers...
asked by 11.01.2018 / 01:03
0
answers

Problem when resetting JPanel and JFrame

I have the following java code: miCalendarioGestor = new MiCalendarioGestor(profiles.obtainPerfil(comboBox.getSelectedItem().toString())); frame.getContentPane().add(miCalendarioGestor); frame.add(miCalendarioGestor);...
asked by 19.01.2018 / 12:17
1
answer

Constructors in abstract classes Java [duplicated]

my question is: What is the purpose of having constructors in the abstract classes if the daughter classes can not instantiate it? Greetings.     
asked by 11.01.2018 / 06:33
1
answer

Reverse of a matrix

Good, I'm doing a program that shows the inverse matrix, the determinant, the cofactors etc ... But I can not print the resulting matrix of each one on the screen. How can I call each function and draw the resulting matrix of each of the functio...
asked by 08.01.2018 / 20:48