Ad Code

Responsive Advertisement

Minecraft Java UI 1.18+



Java UI Pocket Edition 1.18+ Work 100% Java Edition


One aspect that I haven't touched on yet is Java UI (User Interface). I left this topic out of all the previous tutorials on purpose, because I think it's one of Java's weak points. If you're reading this and you disagree, then that's great, I'd love to hear your thoughts on the positive aspects of Java UI, please leave them in the comments section at the end of this post.

You may have noticed that, so far, there has been no real “interaction” between you and the code you've been writing. All that happens is you say “Run as Java Application” and then your code may output something into the console. But then your program ends and that's it! There hasn't been any real interaction with you while the program is running. This is where a User Interface becomes really crucial.





An example of a User Interface is a window (or dialog) that displays a form on your screen. This form has fields for you to fill out, like username and password. You have the ability to type in your username/password combination, then hit a “submit” button, and then the program will spring to life and verify that your username/password is indeed correct. THIS interaction is made possible by a User Interface.



Post a Comment

0 Comments