Source Code

Keyboard Animation Applet – Java

The KeyboardAnimation2 applet provides a generic framework for applets both display an animation and respond to keyboard events. The animation runs only when the applet…

Laout managers applet demo

This applet demonstrates various layout managers. The applet itself uses a border layout with a JPanel in the center, a JComboBox menu to the North,…

Moving ball applet – Java

This is a Java class that uses some trigonometry and vector mathematics in its implementation.  An object of type MovingBall holds data about a "ball"…

Console Based Simple Java Calculator

Console Based Simple Java Calculator

This Java code is a simple console-based calculator that allows users to perform various mathematical operations. The calculator supports addition, subtraction, multiplication, division, square, cube,…

Client Server in Java

Set up a Server that will receive packets from a client and send packets to a client. Also set up a Client that will send…

Bank Transactions using Threads in Java

This source code demonstrates a Bank Operations using Threads in Java.

Java network chat Applet

This applet simulates a network chat, in which the user chats with someone over a network. Here, there is no network. The partner is simulated…

Java Chat Program for Real-Time Communication

This is a Java Application program that supports two way real time chatting or communication between two users over the Internet. The program can be…