Questions tagged as 'java'

0
answers

Doubt about data distribution between classes

I have a class called Socio that asks for the name, phone ... and I have created methods getters and setters . And another class called DadosDoUsuario that will ask for the information to fill the register, but what happens is t...
asked by 16.05.2015 / 20:04
0
answers

Upload image + parameters HttpURLConnection

I have a Rest server and need to upload images and also send parameters. I've done a lot of research but I still can not make the client work. By the browser works right, via code I can send the image but the parameter does not. Follow the serve...
asked by 13.05.2015 / 22:58
0
answers

Doubt about data distribution between classes

I have a class called Socio that asks for the name, phone ... and I have created methods getters and setters . And another class called DadosDoUsuario that will ask for the information to fill the register, but what happens is t...
asked by 16.05.2015 / 20:04
1
answer

save an object list

I have one object called message and another called frames .. That is, in my application I can have a list of frames related to the same message. I already have this list in my ManagedBean , now I need to save those frames, but before, I n...
asked by 22.06.2015 / 14:41
1
answer

How to receive the return of selected text inside in windows?

I would like to know if there is any classe no java , with some method that allows me to receive those text snippets that we selected with the text course in any document within Windows (be a text of a PDF Word or som...
asked by 06.06.2015 / 19:02
1
answer

Error copying data from one table to another

Good afternoon, I'm doing an application that does a dvs loan request, I was able to make the application to insert the reservation, now I need to make the owner of the dvd confirm the rent and copy the data in the table of rented dvd but I have...
asked by 05.06.2015 / 17:56
1
answer

Generate sequential number in java

Hello, I have a Student class with the name and license plate attributes. The user can enter the name by the setNome (), but I would like to know how to make the registration automatically generated (1, 2, 3, ...)     
asked by 07.06.2015 / 19:50
1
answer

helps in capturing multiple strings and stores them in an array

String names = "<td><input type="radio" name="pergunta23g" value="SIM"/> Qual? <input type="text" name="pergunta23gQual" class="dados"> Onde<input type="text" name="pergunta23gOnde" class="dados"></td>" I would li...
asked by 05.06.2015 / 20:19
2
answers

Problem with image

I made a small application to show my problem; whenever the player makes a sequence in the diagonal, wins, if nobody does it, it draws; do not look at the fact that the second player will never win ... I just did an example to show that when win...
asked by 28.05.2015 / 21:38
0
answers

Ideas for making a private record

try { Connection lig = DriverManager.getConnection( "jdbc:mysql://localhost/gym", "root", "0000"); PreparedStatement inst = lig .prepareStatement("SELECT ph.Produtos_idProdutos, ph.Historico_idHistorico, p.Nome, p....
asked by 28.05.2015 / 17:11