Graphics programming in Java, GUI and 2D: Introduction

Let's start in our online Java course to use graphics in Java, and so let's start with the famous dialog boxes, which are those little windows with buttons and messages, we usually see with some warning or error alert.






Graphical Programming, GUI and 2D drawings


As soon as we think in programming we think of creating a super modern 3D game that requires as much of a video card or create a very secure operating system.
But no matter the language that we study, we always start with some 'nonsense' basic chart and see nothing, only black windows (MS-DOS or Linux-Terminal) or that little window where the result of the programs appear in IDEs such as NetBeans or Eclipse.

This is not by chance or because of poorly made books or courses. It's normal. You have to get through these things even simpler, as we did in our Java Progressive course.
To create applications with menus, buttons and windows has to start things simpler and often regarded as silly and useless.

However, we arrived here, it's time to see some graphical tools in action. Doing some windows, browse buttons and dialogs.
Along the way you will see more so-called GUI elements - Graphics User Interface.

But make no mistake. This is only a 'facility' for the user.
In fact, for the programmer, this only complicates. You'll have to set the same way, imagine the crap that users can do and try to minimize these problems in addition to predict the possible actions of the client.



You will see that behind a click there is a grand scheme of code that will handle the event, which can be a click or a button that was pressed. And there are lots of buttons and places that can be clicked.

1 comment:

Mamta Soni said...

Your blog is very informative and gracefully
your guideline is very good.Thank you
Regional pharmacy college
deepshikha group of colleges