Questions tagged as 'java'

1
answer

Intersection and Subtraction Clusters

I have a question regarding regular expressions. I do not understand how intersection and subtraction work in regular expressions. Could someone clarify me? [a-z&&[aeiou]] Interseção [a-z&&[^m-p]] Subtração System.out.prin...
asked by 15.02.2015 / 00:36
1
answer

KSOAP ILLEGAL PROPERTY [duplicate]

I made the webservice using Android and KSOAP, now I need to consume the webservice ... The specified method needs to recover all users from the database (userid, username) Personal, I have the following error and I do not know how to solve...
asked by 10.04.2015 / 00:28
0
answers

What is the best way to queue up

Well, what's the best way to queue up in java? For example I select 3 files, these files stay in a queue until the process of reading and generating the report is finalized, as soon as the report is generated the other file goes into execution....
asked by 13.04.2015 / 22:09
0
answers

Stackoverflow in AVL Trees

The program I'm about to do pretends to be a system that counts the passage of cars through porticos, so the program receives several types of commands and does not end until it receives an empty line. There are three types of commands, which...
asked by 07.04.2015 / 15:02
1
answer

Minecraft make the player connect to the game

Hello I have tried to make the client connect to the server with sockets this site has an link explanation but I can not find a way I already tried out.writebyte , out.writeInt , etc. .. does anyone know how to do this that you are...
asked by 05.04.2015 / 03:21
0
answers

Call sql server procedure via JDBC that returns cursor

I am not able to call a SQL Server procedure in java that returns a cursor. That's possible, does anyone have an example? For Oracle, you can use the example link . But I need it on SQl Server.     
asked by 02.04.2015 / 20:36
0
answers

Error trying to access another screen using a button

My problem is this, I have my main screen that contains a button to access another screen, the code I'm using to make this connection is: btRegister.setOnClickListener(new View.OnClickListener() { @Override public void onClick(Vi...
asked by 07.02.2015 / 22:20
1
answer

List View and Normal Layout in an Activity

Hello, I want a screen to have a button, and below that button, a list with several items. But it turns out the buttons are multiplied. See: activity.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http:/...
asked by 07.02.2015 / 05:02
0
answers

Get index of an ArrayList to generate report in ireport

How do I get to the index of the list to pass pro ireport? Already tried to give a "get" of the error. This is my method that generates the report: public void gerarRelatorio(ArrayList list) { for (int i = 0; i < list.size(); i++) {...
asked by 13.04.2015 / 17:07
1
answer

Capture the change event in a p: selectOneMenu of type Enum

I can not catch the change event of component p: selectOneMenu, whose load source is an enum. I registered in my view the change event of Ajax, however the listener method is not called. My view uses the following code to load the combo: &l...
asked by 10.04.2015 / 20:55