source file name: AppletCanvasShapesDemo.java /* <applet code=AppletCanvasShapesDemo.class width=300 height=300 > </applet > */ import java.awt.*; import java.awt.event.*; import java.applet.*; public class AppletCanvasShapesDemo extends Applet implements ItemListener { Choice ch; Color col=null; ShapeD…
Read moresource file name: AppletStarDisplay.java /* <applet code=AppletStarDisplay.class width=300 height=300 > </applet > */ import java.awt.*; import java.awt.event.*; import java.applet.*; public class AppletStarDisplay extends Applet { public AppletStarDisplay() { } public void paint(Graphics g) { g.drawLine…
Read moreProgram Statement: Write a Applet program that calculates DA , HRA ,CCA and GS of employee using following information 1)if Basic Salary(BS) is <5000 then DA= 81% of BS 2) if BS is in range 5000 to 7000 then DA=51% of BS 3) if BS is > 7000 then DA=41% OF BS CCA =350/- HRA=15% OF BS source file name: AppletPar…
Read moresource file name: AppletSoundProgram.java First download below Sound files. audiotest DBJ AbhimanGeet /* <applet code=AppletSoundProgram.class width=300 height=300 > </applet> */ import java.applet.*; import java.awt.*; import java.awt.event.*; public class AppletSoundProgram extends Applet implements …
Read moresource file name: AppletParamDemo.java /* <html> <body> <applet code=AppletParamDemo.class width=550 height=300 > <param name="college" value="DBJ College" > // input value </applet> <body> <html> */ import java.awt.*; import java.applet.*; public class Ap…
Read moresource file name: AppletDemo.java /* <applet code=AppletDemo.class width=300 Height=300 > </applet> */ import java.applet.*; public class AppletDemo extends Applet { public void init() //initializtion { System.out.println("init() works "); } public void start() //start or resume exec…
Read more