Problem in line 6 with ".value" Error: "non-static variable cannot be referenced from a static content"
addObject(nib, (getWidth()/8)*6, getHeight()/2);
nib nib = new NumberInputBox();
NumberInputBox nib = new NumberInputBox();