filmov
tv
Addition of Two Numbers Using Java Applet | Add Two Numbers Using Applet | GUI Programming
![preview_player](https://i.ytimg.com/vi/28FC5EzJ6sU/maxresdefault.jpg)
Показать описание
Subscribe The Channel
@technicalicode
In this video, I have explained theoretically and practically that how to write an applet code to add two numbers and what are the step to follow to write and execute Applet code.
/* Program to Add two numbers using Applet */
public class appletinput extends Applet implements ActionListener
{
TextField t1=new TextField(10);
TextField t2=new TextField(10);
TextField t3=new TextField(10);
Label l1 =new Label ("First No:");
Label l2 =new Label ("Second No:");
Label l3 =new Label ("Sum:");
Button b=new Button("ADD");
public void init()
{
add(l1);
add(t1);
add(l2);
add(t2);
add(l3);
add(t3);
add(b);
}
public void actionPerformed(ActionEvent e)
{
{
}
}
}
Subscribe The Channel
@technicalicode
#technicalicode
@appletjava2236#javaapplet
#appletinjava
#applets
@technicalicode
In this video, I have explained theoretically and practically that how to write an applet code to add two numbers and what are the step to follow to write and execute Applet code.
/* Program to Add two numbers using Applet */
public class appletinput extends Applet implements ActionListener
{
TextField t1=new TextField(10);
TextField t2=new TextField(10);
TextField t3=new TextField(10);
Label l1 =new Label ("First No:");
Label l2 =new Label ("Second No:");
Label l3 =new Label ("Sum:");
Button b=new Button("ADD");
public void init()
{
add(l1);
add(t1);
add(l2);
add(t2);
add(l3);
add(t3);
add(b);
}
public void actionPerformed(ActionEvent e)
{
{
}
}
}
Subscribe The Channel
@technicalicode
#technicalicode
@appletjava2236#javaapplet
#appletinjava
#applets