Questions tagged as 'java'

1
answer

Java error, Unhandled event loop exception No more handles

Could someone tell me why this error is due? It happened to me when I wanted to start using Eclipse, because I normally use NetBeans. The error is:    Unhandled event loop exception       No more handles     
asked by 10.06.2017 / 15:23
1
answer

Select itemes [closed]

I am developing an app and a part of what I have to do is that I can select the state and the municipality in which the user is located can be said that I want to use a select box type and in one the states come and in other the municipalities b...
asked by 17.08.2017 / 00:56
2
answers

Because when comparing two Drawable resources the value is not the same?

Good morning, I'm trying to make the next comparison. I have verified that both Backgrounds are the same, but still the comparison does not return a True. if(contenedorMarcas.getBackground() == getResources().getDrawable(R.drawable.conte...
asked by 21.06.2017 / 19:35
1
answer

Can ArrayList be made from ArrayList? - Java

It would be very useful, if you can explain how to do it. I have tried several ways but I do not succeed.     
asked by 18.06.2017 / 17:02
1
answer

Hibernate NullPointerException when executing session.close ();

Very good, I am using hibernate for the first time and I am trying to make a simple application where I now skip an error that I do not know what it might mean. I followed a series of tutorials in which I explained how to configure everything an...
asked by 03.09.2017 / 15:28
1
answer

Error: can not be divided by zero

The problem is that I get an error when I try it several times. The error I get is that it can not be divided by zero and it happens in this line: numeroAdvAA = (numeroAdvAux / divisionDigito) % 10; This is the part of the code where I rece...
asked by 14.06.2017 / 09:37
3
answers

SQL query with String data

Hello, I have a query SQL implemented in JAVA in which I need to insert the values MTILM, MVisual, MVerba, MAR, MTeorico whose data is of type String, here I leave an example connectionDB.executeInsertUpdate("INSERT INTO 'data_process...
asked by 01.06.2017 / 19:37
3
answers

How can I compare a String with an Int?

The problem is that I'm doing a project where requests for bank accounts are made either people or companies, but I need to sort the requests in lists, I made the People as they ask me to order them by their ID number, but companies have to orde...
asked by 01.06.2017 / 19:22
1
answer

How to make the button back in android studio?

Hello friends, I would like to know how I can create the back button in the ActionBar in android studio, as well as the image, which when pressed will bring me back to the previous class. I hope you can help me and thank you very much.   ...
asked by 03.06.2017 / 20:08
2
answers

Error query sql oracle

I have a java application that is connected by JDBC and I make this query: My code: String date = "21-Dec-16"; StringBuilder query = new StringBuilder("SELECT * "); query.append("FROM TEST WHERE PUBLISHED_DATE='").append(date).append("'");...
asked by 19.05.2017 / 10:04