AJP Practical11
AJP Practical11
AJP Practical11
***Write a program to change the background color of Applet when user performs event using
Mouse.
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
}
/*
<applet code="MouseColor" width=300 height=300>
</applet>
*/Output:-
** Write a program to count the number of clicks performed by the user in a applet?
import java.awt.*;
import java.applet.*;
import java.awt.event.*;
Output:-