swing

JColorChooser Component in Java

Today, i will teach you how to create a program that has the JColorChooser component in Java. We have ColorDialog in VB.NET and C# and this is equivalent to the JColorChooser in Java. So, now let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of colorChooser.java. 2. Import java.awt.* and javax.swing.* packages because we will going to have the JColorChooser component in swing and also the JPanel as the container of this.

Display Current Date in Java GUI

This is my other java tutorial that i will teach you how to load and display the current date in Java GUI. Of course, it is a too little hassle because java has complicated codes in showing current date compared to other languages such as visual basic. Now, let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of DateText.java. 2.

Display Current Time in Java GUI

Now, in this tutorial, i am going to teach you how to create a program that will display the current time using Java in GUI form. Of course, it is a too little hassle because java has complicated codes in showing current time compared to other languages such as visual basic. Now, let's start this tutorial! 1. Open JCreator or NetBeans and make a java program with a file name of ClockText.java. 2.

Link/Show Form when clicking a Button in Java

This is a continuation of Login Tutorial and Connecting to MS Access database using JCreator see here With this, I am showing you some twist that after a correct login in the program it will show another form in Java. 1. First create a java program with a filename of MainMenu.java. 2. Import the following libraries. import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*

Very Basic Java Game programming - Part 1

I don’t know how exactly to start or make an introduction for this post. I just made in to the concept of designing a simple fighting game tutorial - from doing the character animation to its overall functionality. This tutorial is intended for beginners who really enjoy experimenting with JAVA. No, I’m not an expert game programmer. I can’t promise to owe you a good working game engine. But this