History of the Emergence of Java Programming Languages

5:36 PM Add Comment
History of the Emergence of Java Programming Languages

Java was officially introduced by SUN Microsystem on May 23, 1995. However, this history of the development of this programming program has been started since 1991. At that time SUN formed a team named "Stealth Project" or alson known as "Green Team". Which aims to create a software system capable of running on small-scale electronic devices. James Gosling gets the jobs of creating a programming language that is capable of running on the platform of the system. In the middle of 1991, the programming language "Oak" was born.

The Appearance of Oak or Java on the World

The emergence of a new version of Oak that had been renamed Java in 1995 was accompanied by the launch of the HotJava browser. Java along with its interactive and dynamic applet facilities, began to spread its wings into the web world.

About two years later, launched Java 2 Enterprise Edition, which makes Java famous in the web world will be complete. Java is not only playable on the client side but also on the server. In 1999, it was officially introduced Java 2 Micro Edition, otherwise known as J2ME. J2ME is more focused on programming for electronic devices.

Since the emergence of System Development Kit version 1.2, Java uses the Java product name 2. Currently has emerged SDK version 1.5 which uses the product name J2SE 5 "Tiger". The development of versions 1.1, 1.2, 1.3 to 1.4 is arguably less significant for technological leaps. In version 1.4 began to use keyword assert. From version 1.4 to version 1,5 (J2SE 5), there is a significant jump because there are some fundamental changes that affect the Java programming style. Changes and additional features of the language are quite fundamental, among others, as follow :
    1. for-in
    2. generics
    3. enum
    4. autobox & unbox
    5. varargs
    6. annotation
    7. static imports
    8. formatter

Java technology has evolved considerably as we have read from the History of the Emergence of Java Programming Languages, from version 1.0, 1.1, 1.2, 1.3 to date reaching more than 1.6 versions (Java 6). The biggest jump on many sides occurs when the transition starts from Java 1.4 to Java 1.5 or it can be called Java 5 Tiger. There are so many new features and innovations that come up. Features and Innovations that come up. Features such as Generics, For/In, Annotation are new to many Java programmers, so they have to start learning the fundamental aspects that have shifted so far.

By Watching Yourself Happy, I'll be Happy Too

11:13 PM Add Comment

The world is beautiful comrades, especially if you find someone you like. Maybe she does not necessarily like you, but have you ever felt a very happy thing just to see her face?

This story begins when I want to make a surprise party on her birthday. The reason I made this surprise was because she came on my birthday. At that time I was very happy, therefore I am eager to make her happy also during her birthday. Two months before her birthday arrived, I designed the arrangement of events and activities that would happen later. Day after day I think carefully. Until almost all the equipment is ready. She is a woman I admire. She may be my encouragement in this life.

Although she is a woman who already has a girlfriend. Somehow I still love it. She is a very cheerful and cheerful lady. Where I was in college, she was a choral choir in the lecture organization. I also worked with all the members of Padus to make the most lively surprise on his birthday. I even invited his boyfriend into the event. The day before the show begins. Many things happen that hinder the preparation of the event. Start many members who can not come. Lots of distractions that occurred at the time. Until there was bad news that made the event not happen. It disappointed me over everything I had prepared 2 months ago. Very disappointed. I may be very sad because I can not make her happy and happy.

Eventually the day arrived. The day she was 19 years old. I can only pray it at home with sadness. I also saw her celebrated her birthday by her family and her friends. Through social apps, I can see her happy face very clearly. Four to five videos I see. In the video, I saw her very happy face. Very happy. Somehow, my disappointment and sadness was healed by looking at her face in the video. Thank you very much well, for being happy when you're birthday. Although I failed to make you happy on your important day. I am willing. I just want you to be happy. By looking at the video, I am relieved and happy if you can be happy there though not with me. Always be smiling and happy ^ _ ^

Java Swing GUI Forms Tutorial in Netbeans - JFrame Form using Label, Text Field, and Button

11:47 PM Add Comment

Cover of the Java Learning

     Hello Programmer, now I will teach you about Java Swing GUI Form in Netbeans. Before we start the lesson, do you know what is Netbeans? Netbeans is one of many java language programming applications. You can use this applications for make a something good with java language programming. In this applications, we can also create GUI Form for user who want to use your application. So, Netbeans is so good. If you know about all in Netbeans, you can create anything you want. Okay, now we will start the lesson. First, we must create a new project. File - New Project. Next, you must choose Java - Java Application. For the project name, you can name it feely. I will name it with Learning1.

     Next, we must create a new file for Swing GUI Form. File - New File. Same like before, but you don't choose Java - Java Apllication again. Now you must choose : Swing GUI Forms - JFrame Form. For the name file, I will name it with FRM_Learning1 like me. Or for you file, FRM_"ProjectName". The screen on you monitor will like this :

Create JFrame Form file

     After you was create Swing GUI Forms - JFrame Form file, you must input the code on the main file in you project. My main file is Learning1.java, usually the name of  your main file is the same as the name of the project you was made. Please insert the code on you project like this on public static main :

public static void main (String[] args){
   FRM_Learning1 n = new FRM_Learning1();

     This code is call the JFrame Form file into the main file. setVisible(true) is using to show the GUI Forms which we have created before. And "n" is a variable to be filled with that GUI Forms file. It is like a variable to call it.

Calling GUI Forms file form main file

     Now, we will design the JFrame with many tools, like Label, Text Field, and Button. You can find that tools on your screen in right side. You can find Swing Controls, there are many tools that you can use there. But this time, I will using label, text field, and button tools. You can use it with click the tools first, and placed it on your form. It is very easy, you can place it as you want. When you was placed the tools on your form, you can also rename the label for the tittle. You just must double click it on your label or other else tools.

Rename the tools

     Next, you must name the tools with a variable name. You can find the variable name on your tools in Properties (Right Click on your tools) and choose Code field. For the variable name, you can name it feely. I will name it with "textName", because this label for tittle name.

The variable name

     And you can complete the form with any else tools. Please follow the look of the form as I make, for learning the function of the code. I must use any tools, like label, text field, and button for make a simple program. 

Example of GUI Forms

     After you follow my example forms on the top, don't forget to give a variable at every tools that you use. For the text field, I am using name "textfieldName" and for the button I am using name "btnCount". But you can change the name as you want. Okay, we go to the code. For the code, we just need to looking at the button tools. You can find the source code with double click at one of many buttons. For the code, you can follow my code from the below :

Code for the buttons tools

     Okay, i will explain the code to you. First, for the button "Delete". "textfieldName" is the text field on the form which we choose. We must use .setText(" " );  to provide content to it. On the code, i not give anything, so the text field must be empty. And the function of .grabFocus(); is to cursor target on the text field. You can see it when you was click button "Delete" , when you play it.

     Next, we looking for the button "Count". This button is used to calculate all the data which contained on the text field. First, we must insert the variable for filled it with data of text field. Because the data of the text field is type of data String, so we must change the type to Integer to be calculated. The code is : Integer.parseInt(String variable); . Because we need data of the text field. We insert the String with variable name on the text field which we have created before. And the next, we use .setText(" " ) to provide the calculated to the textfieldSUM.

     Finally, we looking for the button "Exit". This button only tells the system to exit. So, we must use "System.exit(0);" . The number of 0 is the computer code number for false. False means off. Okay, the code for button is complete. You can run the main file project with F6 or click on the top window. This the view of our project :

Final Project

     You can try the button after you fill the text field. That is the code and function of the tools in JFrame file. The tools that we have used are Label, Text Field, and Button. You can try another tools as you want. Okay see you the next lesson ^_^