I'll be honest I have no real clue as I've never used it, but use `printStackTrace()` for the obvious reason; it shows you exactly where the error is. Logger I believe doesn't do this, but again I've never used it so I have no idea.

It's just a normal warning, because you should not print to the standard output(console) from production code.

Everybody uses System.out.println and printStacktrace because they are good tools while developing, but the warnings are good too, because they remind you to get rid of these calls before releasing your code.

The replacement which netbeans gives you uses the standard Java logging classes. They are quite basic and work, but especially when you are creating libs use slf4j. When you don't know what logging is for, google yourself some nice tutorials

It's just a normal warning, because you should not print to the standard output(console) from production code.

Everybody uses System.out.println and printStacktrace because they are good tools while developing, but the warnings are good too, because they remind you to get rid of these calls before releasing your code.

The replacement which netbeans gives you uses the standard Java logging classes. They are quite basic and work, but especially when you are creating libs use slf4j. When you don't know what logging is for, google yourself some nice tutorials

Or maybe log4JBut, yes , you should pay attention to netbeans warning, they teach you some stuff, like , for example, i didnt know about diamond operator.

It doesn't even really matter in the final product, but it's useless code since the user can't see it (unless running from cmd). However, it may slow down your game if you are printing many times or many different things (incrementing/decrementing numbers, etc., will slow it down a lot).

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org