Hi all,
I have a question, i have a program where the user creates a box or more boxes, and they are saved during runtime only, in an Array.(that was how i had to write it for a project.).
no matter where in the program if i use an input dialog like--->
and i press OK with nothing in the input box,all the boxes are deleted that where made?? My question is how do i catch it and get the user to re-input?I see with a
String i can use if(id==null),but how do i do it with an integer?
Thanks
Mike