Java Tutorial

Razmazio : JAVA Side Scroller Game Programming part1

Submitted by moazkhan on

TUTORIAL NO 14

Razmazio : JAVA Side Scroller Game Programming part1

In this tutorial you will learn: 1. Timer class 2. Animations using timer 3. Side Scroller game 4. Game Programming 5. Changing screens in the game 6. Swing Animations 7. Event handling 8. JAVA awt 9. JAVA swing 10. Adapters Today I am going to teach you how to make a simple yet fun game in JAVA. This tutorial will be divided into two parts so that thing remain simple and everyone could easily understand. In this game we will try to copy the basics features of SUPER MARIO.

PACMAN Animation Programming part2

Submitted by moazkhan on

TUTORIAL NO 12

PACMAN Animation Programming part2

In this tutorial you will learn: 1. Game Programming 2. Swing Animations 3. Event handling 4. JAVA awt 5. JAVA swing 6. Adapters Now we will continue making our PacMan animation. In this tutorial we will write the functions and conditions for up , down ,left and right. Which we were calling in our detect collision function.

PACMAN Animation Programming part1

Submitted by moazkhan on

TUTORIAL NO 12

PACMAN Animation Programming part1

In this tutorial you will learn: 1.Game Programming 2.Swing Animations 3.Event handling 4.JAVA awt 5.JAVA swing 6.KeyListeners Today I am going to teach you how to make a simple PACMAN mockup. In this tutorial we will only set up the pacman character and will provide functionality to the character using arrow key. After that we will set up the pacman mouth open close animation. Then we will setup it’s collision with a wall.

3 Types of FILE IO part2

Submitted by moazkhan on

TUTORIAL NO 10

3 Types of FILE IO part2

In this tutorial you will learn: File Reading using 1.Standard Input Output 2.New Input Output 3.New Input Output2 4.Anonymous classes Today we are going to write our remaining two filing functions i.e of new input output and new input output 2.

3 Types of FILE IO in JAVA part1

Submitted by moazkhan on

TUTORIAL NO 10

3 Types of FILE IO part1

In this tutorial you will learn: File Reading using 1. Standard Input Output 2. New Input Output 3. New Input Output2 4. Anonymous classes Today I am going to teach you how to read files in java using all the three types of methods available in java. The standard input output was the oldest after that new input output was used and now new input output is being used.

Writing your own BigInteger Class in JAVA

Submitted by moazkhan on

TUTORIAL NO 9

Writing your own BigInteger Class

In this tutorial you will learn: 1.Console Applications 2.Input in console 3.Strings 4.Arrays 5.Conversion of Strings Today I decided to write a different type of tutorial. Instead of working with GUI I decided to make a console application this time only because we didn’t made any console application in our tutorials. So today I am going to teach you how to make a BigInteger class. Integer occupies 8 bytes i.e 32bits in memory and the last 32nd bit is reserved for the sign.

JAVA Catch the Eggs Game Programming part2

Submitted by moazkhan on

TUTORIAL NO 7

JAVA Catch the Eggs Game Programming part2 In this tutorial you will learn: 1.Game Programming 2.CardLayout 3.Changing screens in the game 4.Internal Classes 5.Swing Animations 6.Event handling 7.JAVA awt 8.JAVA swing 9.Adapters In this tutorial I will continue coding my previous tutorial and write the GamePanel class which we left empty in our previous tutorial.

JAVA Catch the Eggs Game Programming part1

Submitted by moazkhan on

TUTORIAL NO 6

JAVA Catch the Eggs Game Programming part1

In this tutorial you will learn: 1.Game Programming 2.CardLayout 3.Changing screens in the game 4.Internal Classes 5.Swing Animations 6.Event handling 7.JAVA awt 8.JAVA swing 9.Adapters 10.BoxLayout Today I am going to teach you how to make a simple yet fun game in JAVA. This tutorial will be divided into two parts so that thing remain simple and everyone could easily understand.

JAVA Animation with PAUSE,RESUME and EXIT functionality

Submitted by moazkhan on

TUTORIAL NO 5

Animation with PAUSE, RESUME and EXIT functionality

In this tutorial you will learn: 1.Swing Animations 2.Event handling 3.JAVA awt 4.JAVA swing 5.Adapters Whenever I am coding a game I faced a problem in making the pause, resume and exit functionality. So today I am going to teach you how to make a simple animation with pause, resume and exit functionality. Which will later help you when you are coding a game. In this tutorial we will be working in JAVA SWING.

Search Application in JAVA

Submitted by moazkhan on

TUTORIAL NO 4

File Search using MultiThreading

In this tutorial you will learn: 1. Reading from a file 2. Multi Threading 3. Recursion 4. Event handling 5. Layout Manager 6. JAVA awt basics 7. JAVA swing basics 8. Adapters 9. Anonymous classes Today I am going to teach you how to make a file searching program. It can search any file and display it’s contents. interface In this tutorial we will be working in JAVA SWING.