Programming with WindowBuilder (english)


In our last part, we have a very simple application that programs the conversion of the temperature in degrees Celsius to degrees Fahrenheit and vice versa. As one or the other has already noticed, writing the program by hand would be difficult and inaccurate. It would be inaccurate because we cannot imagine this while programming in the thought while programming it. Simply we would have to compile and test the program at each step. In practice, of course, this would be extensive.

Since the developers of the Java programming language have come up with a good solution and came to the decision to develop a tool which should save the developer the work of programming a graphical application by hand.

The purpose of this tool is that the user can simply draw or construct his framework as in Blender or Adobe CS. The development environment then produces the appropriate code. This means that we can easily develop the shell of our program through the tool, but we must manually enter the functions.

For example, in the application with the conversion of temperature, you could, in which you have made the button Conversion, read the entered number in the text area mathematical calculate and then return the result of this conversion as a mathematical value.

In this part we will show you how to easily install the above tool. Some of us already remembered from our previous post that we like to use the Eclipse as a development environment. Of course you can use NetBeans or IntelliJ, but this tutorial only works for Eclipse because this tool was already preinstalled in the other development environments.

Step 1: Start Eclipse


Step 2: Chose your Workspace


Step 3: At the top of the "Help" status bar, then "Install new software".


Step 4: Look up the term "windowbuilder" on the internet


Step 5:


Step 6: Choose your Eclipse version and go to its link. In our case, we have version 4.7.


Step 7: Copy this link


Step 8: Back to Eclipse. Insert the link we have copied.


Step 9: Specify the name of the install tool.

After tapping on Ok, you'll need to tap Ok again and then restart Eclipse. Done you have the new tool installed.

In our next part, we will be practicing the first experiences of Graphical Applications with the WindowBuilder.

For questions we are always available. ;)

Kommentare

Beliebte Posts aus diesem Blog

How can I transform a .jar file to a .bat file?

Raspberry Pi als echten Web- und Mailserver einsetzen (German)

Umrechnung von Grad Celsius nach Grad Fahrenheit