In Netbeans I want to be able too return back to my previous position after selecting Go to Declaration (ctrl + click on variable). Similar to the option in Microsoft Visual Studio .Net IDE when I click (ctrl + -) - it …
I am unsure of how to code popup message box in my methods.
public String verify(){
String result = "failed";
int authcode = staffBean.getVerifyCodeByName(getLoginUserName());
if (code == authcode){
result ="success";
}
else{ //statement to popup an error message box
}
return result;
}
I …