Apr 07, 2011 — 7 comments
Today we are going to add more functionality to our User Interface by making our buttons work. In my last article on Java we learnt how to add buttons but today we will add Action Listeners to make them work. To do this, We will be writing a Java Application that adds, divides and multiplies. Just a small calculator, nothing special.
This is a continuation of our previous post on creating a simple graphical user interface in java. Today, we are going to add buttons to the interface to improve the look and feel.
Java is an Object Oriented Programming Language. It is not limited to creating or designing programmes that run on command line environments but can also be used to design stand alone applications with great user interactive environments. All you need to get is a machine that runs Java, a word processor like notepad for window users or gedit for Linux users.
Creating a REAL Splash Screen in Java using NetBeans IDE. Showing a Progress bar and text while your app loads resources.
install whatsapp for pc Whatsapp program of free software special correspondent across different mobile devices And there is no official version of whatsapp PC to so far .
A lesson teaching us how to create an FPS style camera in a 3D environment such as OpenGL. The lesson then goes on to show us how to move the camera around the environment using the keyboard.
Introduces JFrames, JPanels, LayoutManagers, JTextFields and JButtons to create a simple Calculator GUI.
This tutorial helps users understand the fundamentals of Java GUI, it can help them use techniques in different programs and introduces 2 different LayoutManagers to make a Calculator interface which look similar to the Windows Calculator
One more nice touch in the Java 6 offensive to the desktop is giving Java applications the ability to add icons to the system tray in a pretty consistent way across platforms. Of course differences exist and they will show up to some degree in the code but at least now the framework exists and the programmer’s effort is a lot smaller.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?