Fixing my NetBeans problems