wtf java?
Go to solution
Solved by Slottr,
Those statements arent within a codeblock
If you're not within a method they won't be registered
As I mentioned in your other post, consider looking into using a constructor for your java classes
This can also be solved by:
{ //your code outside of a method }
This is generally a bad practice though.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now