All posts by Parham Majdabadi

a simple Java applet game

Create a Naughty Circle Game in Java

“Create a Naughty Circle Game in Java” is a game that user try to click on a red circle, which is not possible because the red circle always moves according to the mouse coordination.

There are two Java Classes:

1- NaughtyCircle Class: which is the main class, which inherent the JFrame class with two Interface MouseListener MouseMotionListener.

2-NaughtyCircleControler Class: The Controller for the NaughtyCircle Class.

Continue reading

a real java program

A Real Java Program – Student Hostel Program

“A Real Java Program – Student Hostel Program” is simple kind of a commercial program which can be written in Java. The Program is designed for a student hostel with 100 rooms that can record a new student and also records their payments for the rent.  The Program is originally a case study in Java In Two Semester book which was edited and re created by me.

Continue reading

Java Tutorials

A Java Student Collection Class

‘A Java Student Collection Class’ is an example of a Java collection class. In this example I am trying to show you how to make arrays of object and how to work with them. In this example I use the word ‘Static’ for a couple of attributes and methods have a deep look at them to understand how to use them.

Continue reading