What did you expect? You create a new Data with the default constructor, which takes no parameters.
So every instance variable Data has is still null.
Of cource you need to set the value's first....
Type: Posts; User: ufotje
What did you expect? You create a new Data with the default constructor, which takes no parameters.
So every instance variable Data has is still null.
Of cource you need to set the value's first....
I did try <br> but it's not html text it's a StringAttribute in the model
Lol apperently not, otherwise he wouldn't have run in to that error...
--- Update ---
No offence, but if you have to ask something like this, I would start with following some basic java...
I use intelij as idea, so it supports new-line and it's actually being displayed in firefox, since it's a webpage and they shouldn't have any issues with it...
Just to be shure I tried "\r" and...
Sorry my bad it should be:
public MyMouseHandler(Data data){
...
}
class MyMouseHandler extends MouseAdapter {
private Data dt;
//Add Constructor
class MyMouseHandler(Data data){
dt = data;
}
//Add Getter
public Data...
He said classvariable so I automaticly asumed it was static, what's the point otherwise of creating a classvariable.
If he uses your solution, I would declare a private instance variable and provide...
you've posted this question on the coderanch too, I've seen someone giving you a full working example
If your teacher is looking for pseudocode I don't know, but I do know you can't run the code you've posted, and that's even without following your logic.
Why do you double quote some of your method...
Or don't make an instance at al and call the classvariable direct.
YourClass.variable
Good question! I checked and it is...
this is on the console:
Username already chosen!
This e-mail is already registered.
Did you forget your password?
This is on the actual page:
Username...
int from and int to are indexes? Where does your Array come from? Seems like your method shouldn't only take the indexes, but also the array.
You could do something like:
public class...
Hi Guys
I'm new to this forum, so don't shoot me if i posted in the wrong place.
I have a springBoot app that uses a modelAttribute to return a message when an error occurs while login in....