Except before main, where it is needed, remove all occurrences of the keyword static. You will of course have to run the
main method slightly differently.
Never use
== true or
== false. That is poor style and error‑prone because you might write = instead. It is
if (b)... or
if (!b) ... where “b” means some boolean value or expression.
That method is too long; it ought to be divided into several smaller methods.
The code is only partially indented, and the indentation appears inconsistent. Always use 4 spaces per level (except when you break a single statement over multiple lines) and
never use tabs. If you get a decent text editor, you can set it to convert tabs to spaces and set the indentation automatically.