Questions tagged as 'java'

1
answer

How to join two Arrays?

Hello, I have the following problem I have an ArrayList that returns several small arrays of two positions String[] temp = new String[2]; and has the arrayList that saves adds several "temp"; ArrayList lista = new ArrayList(); while(rs.ne...
asked by 17.05.2016 / 16:47
0
answers

Compare text file with data in bank

Hi, I would like to know how to compare several txt files with MySQL, so when I create a txt file in the folder it does not re-insert the data of the other txt files in MySQL. I am using JNotify to run in time real and insert the TXT file data i...
asked by 09.06.2016 / 14:07
1
answer

I can not find the path of my GET method in WebService Rest

@Path("webservice") public class WebService { private CriancaDAO criancaDAO = new CriancaDAO(); @GET @Path("getCriancaTodasCriancas/{idCrianca}") @Produces(MediaType.APPLICATION_JSON) public List<Crianca> getCriancaTod...
asked by 09.06.2016 / 14:53
1
answer

Doubt (Hibernate) - JSF

I am making an employee registration, and in that register already have departments registered in the bank. So, at that moment I run the bank to present the data in the view, but when I finish the registration, this previously selected "departme...
asked by 18.05.2016 / 13:45
0
answers

Spring Web MVC - Controller not working

I'm trying to make a basic application, with a controller that sends a message to the screen and put CSS in the project, but either the CSS works or the controller. Here are the codes:  1) NetBeans Projects \ SpringMVC \ web \ WEB-INF \ dispat...
asked by 09.06.2016 / 17:43
1
answer

Use java to find an image on the screen

How can I make java read an image on the screen, the intention is to make a bot, once you see the image click on it, img is not in a browser, website, or something on the web, but in a program .     
asked by 09.06.2016 / 15:37
1
answer

Error trying to change column widths in TableView

I have a method that increases and decreases the width of my table at the click of a button (it works perfectly): public void toggleTela() { if(this.tblAudiencias.getWidth() == 940) { this.toogleItens(true); this.tblAu...
asked by 10.06.2016 / 01:22
0
answers

Java Spring MVC error 400 - Search for 2 fields

Galera, blz?! Next, I'm finalizing a project for college completion and I'm getting a very strange error. I already analyzed with another class friend, but we could not identify. I need to search for two fields, one field per title, and an...
asked by 10.06.2016 / 06:01
0
answers

Do you doubt with Scene Builder?

  "Could not open 'File.fxm'       Open operation has failed. Make sure that the chosen file is valid   FXML document " Rstou with a Scene Builder problem that when opening Eclipse and initializing a arquivo.fxml Scene Buil...
asked by 11.06.2016 / 00:26
1
answer

Many lines in a csv file

The scenario of my doubt is as follows: I have a system that reads a file that has around 3 million lines, each line has a separator, I identify each item on the line, I do the proper treatment that must be done in each of these items, and I tra...
asked by 05.05.2016 / 20:50