Applet: Text Bouncer - Online Code


This code shows a very good example of animation where the whole text bounces inside the window by striking the borders and also you have many options for changing the style of text.

Source Code

import java.awt.BasicStroke;
import java.awt.BorderLayout;
import java.awt.Checkbox;
import java.awt.Choice;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Fr
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.


Sumi Jain on 2014-09-28 07:42:35 wrote,

Sir, This code is not working...
Error at line no. 95 addWindowListner