Click here to Skip to main content
15,868,016 members
Home / Discussions / Java
   

Java

 
GeneralRe: Java Pin
Richard MacCutchan7-Jul-21 22:39
mveRichard MacCutchan7-Jul-21 22:39 
GeneralRe: Java Pin
Ranjeet Singh from Unknown7-Jul-21 23:39
Ranjeet Singh from Unknown7-Jul-21 23:39 
AnswerRe: Java Pin
jschell17-Jul-21 10:57
jschell17-Jul-21 10:57 
QuestionHow to use additional parameters inside ConstraintValidator.isValid method Pin
Harpia3-Jul-21 6:36
Harpia3-Jul-21 6:36 
AnswerRe: How to use additional parameters inside ConstraintValidator.isValid method Pin
Member 1528896314-Jul-21 0:30
Member 1528896314-Jul-21 0:30 
QuestionHow to change Java Persistence.createEntityManagerFactory()? Pin
Rocking Kapil21-Jun-21 2:10
Rocking Kapil21-Jun-21 2:10 
QuestionDifficulty searching element in an Array Pin
sifuyipe14-Jun-21 3:58
sifuyipe14-Jun-21 3:58 
QuestionNeed help figuring out why I got a java.lang.NullPointerException. Pin
Emmanuel Guerrero9-Jun-21 10:03
Emmanuel Guerrero9-Jun-21 10:03 
I understand that a NPE can come from a variable or method returning null. But what I'm trying to do is get a bank account balance. To do this I first have to correctly enter the account id and nip, which I can do without problems. Then I have 4 options to pick from (right now I only have one implemented properly) so I pick Consulta (consult) and what I should be getting is the account balance but I get a NPE error. Can someone help me figure this out? The classes involve during this process should be SolicitudSaldo (consult balance), ATM, Cuenta (Account), BaseDatosBanco (Bank data base) and Transaccion (Transaction). I think the problem might have to do with how I declare ATM in my Jframe INTERFAZ_TRANSACCIONES.

I'll paste a link to my code since It's quite a lot and I don't want to make this post any longer. My project is in the master branch.

Heres a link to my project in gitHub
GitHub - Emmanck613/ATM_02[^]
AnswerRe: Need help figuring out why I got a java.lang.NullPointerException. Pin
OriginalGriff9-Jun-21 10:04
mveOriginalGriff9-Jun-21 10:04 
GeneralRe: Need help figuring out why I got a java.lang.NullPointerException. Pin
Emmanuel Guerrero9-Jun-21 13:37
Emmanuel Guerrero9-Jun-21 13:37 
QuestionHow should the code, which is the answer to this question, be over the eclipse application in java language? Pin
Özde AKSOY31-May-21 8:43
Özde AKSOY31-May-21 8:43 
AnswerRe: How should the code, which is the answer to this question, be over the eclipse application in java language? Pin
Richard MacCutchan31-May-21 9:13
mveRichard MacCutchan31-May-21 9:13 
QuestionI developed a multiplayer game on my own for the past 6 months Pin
JimieSitu16-May-21 19:00
JimieSitu16-May-21 19:00 
AnswerRe: I developed a multiplayer game on my own for the past 6 months Pin
OriginalGriff16-May-21 19:11
mveOriginalGriff16-May-21 19:11 
AnswerRe: I developed a multiplayer game on my own for the past 6 months Pin
SeanChupas17-May-21 3:00
SeanChupas17-May-21 3:00 
AnswerRe: I developed a multiplayer game on my own for the past 6 months Pin
Gerry Schmitz17-May-21 8:00
mveGerry Schmitz17-May-21 8:00 
AnswerRe: I developed a multiplayer game on my own for the past 6 months Pin
digital seo201128-Jun-21 6:13
digital seo201128-Jun-21 6:13 
Questionhelp figuring out where my code went wrong please Pin
MollyJanet13-May-21 8:32
MollyJanet13-May-21 8:32 
AnswerRe: help figuring out where my code went wrong please Pin
Victor Nijegorodov13-May-21 9:38
Victor Nijegorodov13-May-21 9:38 
AnswerRe: help figuring out where my code went wrong please Pin
Dave Kreskowiak13-May-21 11:04
mveDave Kreskowiak13-May-21 11:04 
GeneralRe: help figuring out where my code went wrong please Pin
SeanChupas14-May-21 2:58
SeanChupas14-May-21 2:58 
AnswerRe: help figuring out where my code went wrong please Pin
Richard MacCutchan13-May-21 21:02
mveRichard MacCutchan13-May-21 21:02 
AnswerRe: help figuring out where my code went wrong please Pin
SeanChupas14-May-21 3:00
SeanChupas14-May-21 3:00 
Questionneed help in javaFX + Maven project structure Pin
Preantas3-May-21 8:50
Preantas3-May-21 8:50 
AnswerRe: need help in javaFX + Maven project structure Pin
Richard MacCutchan3-May-21 21:11
mveRichard MacCutchan3-May-21 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.