Questions tagged as 'java'

2
answers

Maintenance problem with JPA query

I have the following packages and classes. When I'm going to do this JPA query, I need to pass all the class's fully qualified name (as it's in the example) because JPA can not find it if I just pass its name, no matter the class works. Is...
asked by 25.10.2017 / 18:34
1
answer

How can I show a value in a jTextField when selecting a JCheckBox at runtime?

privatevoidbtCalcularActionPerformed(java.awt.event.ActionEventevt){doublesalario=0,irrf=0,inss=0,valorTotal=0;FolhaPagamentopagamento=newFolhaPagamento(Double.parseDouble(txtValorSalario.getText()));salario=pagamento.getSalario();if(cbIRRF.isS...
asked by 01.11.2017 / 18:56
1
answer

Error while changing table SQLITE - no such column

Include a new column in a table. I reinstalled the application and at the time of saving the data there is a message saying that there is no path picture column, in my case, in the clients table. I read some things about it and was advised to in...
asked by 26.01.2016 / 03:57
1
answer

ResultSet is not positioned correctly, you may need to call next

I am developing a web application using JSP and Servlet and that I register the data of the products in the database and present the data in a table, but when I try to see the image registered by the primary key the description http://localho...
asked by 01.11.2017 / 15:45
0
answers

I am not able to register in APP

I'm trying to register using Firebase. It's all correct there in Firebase, but when I click register in APP, nothing happens, it looks like the button is out of function. Can anyone help me? package com.towerapps.thetower.soulchat; import...
asked by 26.10.2017 / 22:38
1
answer

Float Action Button is not fixed in the footer with Collapsing ActionBar / Toolbar

I have a fragment with coordinator layout, recyclerview and a Float Action Button, and in the view that calls that fragment has a tablayout that hides and appears as it goes up or down the recycler view, I tried in several ways to leave the fab...
asked by 27.10.2017 / 01:02
1
answer

Recycler view does not load when the app opens for the first time

I have recycler view within fragment in tablayout , being the main tab. After logging in, it does not load the data, only loads if I change tabs and return, or close and open APP. Code: public class ContatosFragment exte...
asked by 19.10.2017 / 02:11
0
answers

Error in library when running outside the IDE

I am connecting the application to a bluetooth device through a library, it runs perfectly inside NetBeans, but then when I go through the .jar it gives this error: Exception in thread "main" java.lang.NoSuchFieldError: an_in at java.l...
asked by 18.10.2017 / 22:38
1
answer

field of type enum can be used for comparison?

I have a field of type Enum: public enum StatusImpressaoEnum { PREVISAO(0 ,"Previsão"), EMELABORACAO(1, "Em Elaboração"), AGUARDANDOREPASSE(2, "Aguardando Repasse"), REPASSERECEBIDO(3, "Repasse Recebido"), ATENDIDO(4 ,"Atendido"), SOLICITAC...
asked by 08.11.2017 / 13:08
1
answer

Images sent as an attachment in e-mail with thymeleaf

Hello, I am sending the e-mail template with dynamic data using thymeleaf. The email is displayed correctly with the images, however, the images are also being attached in the body of the email, which should not occur. HTML: <!-- I nee...
asked by 18.10.2017 / 01:49