Lecture 72 Event Handling in Swing in Java Hindi

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024

ความคิดเห็น • 227

  • @siddhantagrawal7352
    @siddhantagrawal7352 3 ปีที่แล้ว +13

    Today I have completed this series. Now I know java very well . Thank you. Great

    • @Watchersss
      @Watchersss 3 หลายเดือนก่อน

      Hi sir I am planning to learn Java , so can I prefer this playlist by saurabh shukla or is there anyone better, i mean is the playlist complete?

    • @siddhantagrawal7352
      @siddhantagrawal7352 3 หลายเดือนก่อน

      @@Watchersss Yes, This playlist will really help you to learn java in depth.

    • @Watchersss
      @Watchersss 3 หลายเดือนก่อน

      @@siddhantagrawal7352 I am thinking that I should learn Java syntax basically how to write java from apna college playlist and for conceptual clarity i am thinking to watch this playlist, because as far as I have watched he doesn't teach how to code but he explains the basic or advance concepts clearly, what do you think on this idea??

    • @siddhantagrawal7352
      @siddhantagrawal7352 3 หลายเดือนก่อน

      @@Watchersss Yes, it sound good

  • @manmeetkaur80
    @manmeetkaur80 4 ปีที่แล้ว +4

    Last video of 75 lectures the whole java core lectures was great....i learned alot from it.

  • @vickysonpir90
    @vickysonpir90 6 ปีที่แล้ว +2

    Hello sir this is vijay i wana say thank you..because of u i have completed my core java...without spending a penny..on other tutions ... where they charge thousands of ruppes and the teaching faculty is also not proper. ....you are the best....

    • @Watchersss
      @Watchersss 3 หลายเดือนก่อน

      Does this course cover full Java or something's are missing

  • @shreyanshshukla7210
    @shreyanshshukla7210 4 ปีที่แล้ว +4

    Sir , content to bahut h TH-cam pr but pta nhi kyo aaka content dekhte hi bharosa aur vishwas ho jata h ki yahi sahi h aur yahi best h ....... Thank you so much sir

    • @Watchersss
      @Watchersss 3 หลายเดือนก่อน

      @@shreyanshshukla7210 accha good boy

    • @shreyanshshukla7210
      @shreyanshshukla7210 3 หลายเดือนก่อน

      @@Watchersss kyo purani yaade fir se yaad dila rha h bhai, 4 saal pahle ki memories 🥲

    • @Watchersss
      @Watchersss 3 หลายเดือนก่อน

      @@shreyanshshukla7210 aaj aak kaha job kr raha ho ?

  • @lakhdeepsingh5883
    @lakhdeepsingh5883 7 ปีที่แล้ว +2

    Thank You so Much Saurabh Sir..!
    I have learnt java From scratch after watching all the videos you posted on this channel..!
    Now i want to learn more and more as my desire is to become object oriented programmer

  • @swagatsundarkar8573
    @swagatsundarkar8573 4 ปีที่แล้ว

    Sir i dont have any idea about java and its working process...but after seeing your lectures ...im now good at java programming ...THANK YOU very much sir

  • @andythomson2227
    @andythomson2227 4 ปีที่แล้ว +2

    Started this playlist at 8 july completed 19 July..thanks saurabh shukla sir..for being the good part of life as u introduce java to me.

  • @surajgadage6004
    @surajgadage6004 6 ปีที่แล้ว +3

    Thank U sirG i just done with java your videos are very helpful and You Are Awesome🙏🙏🙏

  • @PrakashKumar-tf7bi
    @PrakashKumar-tf7bi 6 ปีที่แล้ว +1

    I loved your lecture sir,you are mind-blowing teacher of programming. Thank You

  • @chandansharma-tt2vi
    @chandansharma-tt2vi 7 ปีที่แล้ว +3

    Hello sir,this is Chandan and i want to say thanks for these intresting logical and easy learning videos of programming..these video helps us alot in learning......very useful really...

  • @learningportal6704
    @learningportal6704 3 ปีที่แล้ว +5

    sir pleas add 3 to 4 more projects in this play list so that we can learn more practically programming

  • @adityathakur1961
    @adityathakur1961 2 ปีที่แล้ว +1

    today i have completed this series. And the entire journey was really very interesting you have taught every concepts from scratch at last i want to say thanks for such a wonderfull series.

    • @techflying8660
      @techflying8660 2 ปีที่แล้ว

      it is possible to done this 75 videos playlist in one month

    • @adityathakur1961
      @adityathakur1961 2 ปีที่แล้ว

      @@techflying8660 it's totally up to you how dedicatedly you learn every day in my opinion you can do within a month

  • @priyankajaiswal9790
    @priyankajaiswal9790 6 ปีที่แล้ว

    thank u lot Sir for ur videos. I have studied complete course of core java from ur video lectures . ur teaching methodology is excellent.u have cover each n every portion of core java including some concepts of swings.

  • @sushantsakunde1798
    @sushantsakunde1798 8 ปีที่แล้ว +10

    thank you sir for java series.
    please uplad advance java lecture

  • @ashutoshbhensle6807
    @ashutoshbhensle6807 2 ปีที่แล้ว +2

    all good sir, but one thing..
    you have written l3.setText("result is"+s), but your output is 'sum is...' that means your showing other programs output.

  • @abhisheksrivastava8352
    @abhisheksrivastava8352 7 ปีที่แล้ว +2

    sir plzz load lectures on advance java series ....your way of teaching is awesome plzzz sir

  • @HemantSingh-ep9de
    @HemantSingh-ep9de 4 ปีที่แล้ว +1

    You are great sir
    The way you explain is commendable.

  • @vikashsingh-wf5ko
    @vikashsingh-wf5ko 8 ปีที่แล้ว +2

    This Video concepts are too easy to understand
    Thank you My Sir G

  • @fahadkhan-hf6ec
    @fahadkhan-hf6ec 5 ปีที่แล้ว

    Thank you so much dear sir, Today I have just completed this Playlist and become much efficient in java programming.This playlist makes me easier to understand in depth and not just me but thousands of students over the world learned form you and still learning Thank You So much.Love Respect From Pakistan

    • @samipsamani7
      @samipsamani7 4 ปีที่แล้ว

      In this playlist all java topics cover or not??

    • @fahadkhan-hf6ec
      @fahadkhan-hf6ec 4 ปีที่แล้ว +1

      @@samipsamani7 yes almost all topics but i suggest you to watch Sir Navin Reddy's tutorial on java too its covers the advance java, video is proximately 6 hour long.

    • @Success_mindfreak55
      @Success_mindfreak55 3 ปีที่แล้ว +1

      @@fahadkhan-hf6ec watch durga sir video for depth knowledge

  • @rakesh2you
    @rakesh2you 4 ปีที่แล้ว

    Thanks for giving a simple explanations for Java Coding. Thanks Saurabhji.

  • @sourabhjaiswal4516
    @sourabhjaiswal4516 5 ปีที่แล้ว +1

    Thanks for this series of java..... I have completed my basic by the help of this tutorial series

    • @someshmirage
      @someshmirage 3 ปีที่แล้ว

      I'm Mechanical engineering student but I don't know any programming language I will start with Java for placement...please reply

  • @sauravkumar-ob6xc
    @sauravkumar-ob6xc 7 ปีที่แล้ว +1

    sir thank you verrrrrrrrrrrrrrryyyyyyyyy much for all thse videos.. you are an amazing teacher

  • @praksheerajpurohit8091
    @praksheerajpurohit8091 4 ปีที่แล้ว

    Sir, i have watched your complete series of java and it has helped me a lot . Thank you sir :)
    Your way of explaining the concepts is amazing !!
    THANK YOU SO MUCH SIR :)
    "Huge respect for you".

    • @av1shek_ps
      @av1shek_ps 4 ปีที่แล้ว

      Is it has covered all topics??

    • @samipsamani7
      @samipsamani7 4 ปีที่แล้ว

      Same qus, in this playlist cover all topics in java or not???

  • @yashparihar5258
    @yashparihar5258 5 ปีที่แล้ว

    Sir aap sevlet and jsp pr bhi hindi series banaiye na,bht help milegi hum students ko, aapka smjhane tarika bht zyada acha h.

  • @AnuragRawat01
    @AnuragRawat01 11 หลายเดือนก่อน +1

    Best teacher🎉❤

  • @natiqqamar3601
    @natiqqamar3601 5 ปีที่แล้ว +3

    sir plz upload the complete java core material..we will waiting for tht...buz we could not understand better java in books and its boreing too

  • @amarjd9004
    @amarjd9004 5 ปีที่แล้ว

    Sir u are the best teacher.You explain very best.

  • @micmac2677
    @micmac2677 7 ปีที่แล้ว

    the way of explaining is awesome , god bless you ...

  • @Ankurhandle
    @Ankurhandle 7 ปีที่แล้ว +5

    Hello Sir,
    Sabse Pahle Dil Se Shukriya.... aapke is prayas ke liye...
    ek confusion hai ?
    1-> Why l3 assigning sum?
    2-> Why result is "Sum is" while in code you written "Result is"?

    • @aishavkhandelwal2600
      @aishavkhandelwal2600 4 ปีที่แล้ว +1

      I think it was the second code that the sir runs..

  • @avanishkumar5125
    @avanishkumar5125 4 ปีที่แล้ว +1

    Thanks for your valuable lecture sir...your teaching style is so good..you r one of the favourite teachers sir..lots of love❤❤❤❤

  • @rahuldubey3282
    @rahuldubey3282 8 ปีที่แล้ว

    Thank You SirG for all your videos and teaching, you are doing Great work. All Videos are awesome and I request you to Please sir upload videos on JDBC.

  • @bareetsingh
    @bareetsingh 4 ปีที่แล้ว +1

    Thank you, Sir, for this awesome and helpful Playlist.

  • @naseebyadav9012
    @naseebyadav9012 2 ปีที่แล้ว

    Sir, you are doing great job for huminity💗💗

  • @mahavirsonival6244
    @mahavirsonival6244 6 ปีที่แล้ว +1

    Sir this video was totally good but I want to learn further related to gui pls .. sir develop more videos related to Gui interface

  • @jalaljankhan2130
    @jalaljankhan2130 8 ปีที่แล้ว

    hello Sir, I watched your videos that helped me a lot to understand programming languages. I, now, request you to upload a video about "ACTION LISTENER". I know how ACTION LISTENER works in the same class but i don't know how to use an action listener in different class using packages.
    I suggest you to write a LOGIN Program using packages and classes. There should be different packages. One should contain classes for GUI and the other should contain classes for Logic . This will help me to understand how an Action Listener works in a different class of different package.
    That's it.

  • @mransh3331
    @mransh3331 6 ปีที่แล้ว

    Thank you sir ..
    Apka teaching style bht acha hai

  • @ayushtyagi2033
    @ayushtyagi2033 7 ปีที่แล้ว

    really thankful for these qualitative lectures .sir I am unable to compile program of swing class .JLable is not working properly and giving error .pls help me in this .

  • @krishanudutta2943
    @krishanudutta2943 3 ปีที่แล้ว

    Thank you so much sir for the java tutorial series....

  • @iamshri_kapil
    @iamshri_kapil 6 ปีที่แล้ว

    Thank u sir these videos were really affected for me it helps me alot

  • @fareedmahar2587
    @fareedmahar2587 8 ปีที่แล้ว +1

    Sir when You'll Upload Rest of The Vedeos i'm really needy for these bcz i've completed almost all of the lectures of java Plz sir get Hurrry

  • @scpy37
    @scpy37 8 ปีที่แล้ว

    Sir
    l3.setText(""Result is"+s); 22:19
    and output Sum is 23:17

  • @TheAbhinav375
    @TheAbhinav375 8 ปีที่แล้ว

    sir,kripya nirantar java ki video upoad kare. Hame aapke aagmi video ki hamesha pratiksha rahti hain...

  • @sanjaygaikwad541
    @sanjaygaikwad541 5 ปีที่แล้ว

    Hello sir I appreciate your all preparations and explanations ..Can you please make and upload some videos for JSP,Spring boot,servlet,and maven?

  • @pigeonlifestylee
    @pigeonlifestylee 8 ปีที่แล้ว

    Hi sir,please make lectures on FACTORY CLASSES and METHODS. its urgent, because in jdbc many FACTORY CLASSES and METHODS are there .

  • @sujanntamang8889
    @sujanntamang8889 6 ปีที่แล้ว

    sir you are awesome..
    wont it be better if you make more videos for event handling..

  • @tapanjeetroy8266
    @tapanjeetroy8266 6 ปีที่แล้ว

    thanks a lot sir...please upload more videos in swing event handling

  • @MysteriousIncidents
    @MysteriousIncidents 8 ปีที่แล้ว

    when multiple catch blocks are defined, how does a try statement determine which catch clause should be used to handle an exception? What happens when there is no catch clause after a try block?
    please answer me sir...

  • @parmindersinghsahni7711
    @parmindersinghsahni7711 8 ปีที่แล้ว +1

    hi sir, please make lectures on jdbc . thank you .

  • @deepsagore8286
    @deepsagore8286 4 ปีที่แล้ว +1

    Sir class handler me label l4.setText("result is "+s); hoga kyuki l3 set krne pr second pr hi over ride ho jayega

    • @54-anjanakumari98
      @54-anjanakumari98 3 ปีที่แล้ว +1

      Yes, but after running the program it is printed where l4 is placed... Don't know how it's happening.

    • @PAWANKUMAR-el2zk
      @PAWANKUMAR-el2zk 3 ปีที่แล้ว +1

      Actual here sir has removed the l4 variable sir has taken only l1, l2 and l3

    • @deepsagore8286
      @deepsagore8286 3 ปีที่แล้ว

      👍🏻

  • @saurabhvermajavaprogrammer2561
    @saurabhvermajavaprogrammer2561 8 ปีที่แล้ว +8

    Sir please upload servlet jsp jstl struts tutorials please sir

  • @paritoshdhabekar9282
    @paritoshdhabekar9282 8 ปีที่แล้ว +6

    Sir, Kindly upload JavaScript tutorials as well.

    • @kylanevan3909
      @kylanevan3909 3 ปีที่แล้ว

      You prolly dont care but if you're bored like me during the covid times then you can watch all of the latest series on InstaFlixxer. Have been streaming with my gf lately =)

    • @stephenyosef1731
      @stephenyosef1731 3 ปีที่แล้ว

      @Kylan Evan Yup, been using instaflixxer for since november myself :D

    • @salvatoregus1558
      @salvatoregus1558 3 ปีที่แล้ว

      @Kylan Evan definitely, have been watching on InstaFlixxer for years myself :)

    • @rubenniko7863
      @rubenniko7863 3 ปีที่แล้ว

      @Kylan Evan Definitely, I've been using instaflixxer for months myself :D

  • @ashutoshvaish3072
    @ashutoshvaish3072 7 ปีที่แล้ว

    🙏Thank you so so much sir... For these excellent videos.

  • @seemasharma4808
    @seemasharma4808 5 ปีที่แล้ว +1

    Sir pl explain unicode and utf 8

  • @rubysingh-cn7bu
    @rubysingh-cn7bu 8 ปีที่แล้ว +1

    Sir please kindly use eclipse for Java program

  • @Lucifer-nf7lw
    @Lucifer-nf7lw 2 ปีที่แล้ว +1

    finally completed this playlist !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    • @code4js
      @code4js 2 หลายเดือนก่อน +1

      hey plz plz reply, should I watch this series or is it outdated? bhai plz reply Kar 😢

  • @bhagwat367
    @bhagwat367 7 ปีที่แล้ว

    sir mai aapse java seekh rha hun. aap bahut acha padate hain
    sir mai book lena chata hun please mujhe koi book bataye jiski language aasan ho aur jisse theoretical plus practice bhi jaye

  • @avkexpress8029
    @avkexpress8029 5 ปีที่แล้ว

    just one word Legendary.

  • @shujauddin2205
    @shujauddin2205 7 ปีที่แล้ว +1

    Thankyou so much for this tutorial..

  • @indianmuslimtojihadiniklaa4364
    @indianmuslimtojihadiniklaa4364 7 ปีที่แล้ว +1

    package aplet;
    import javax.swing.*;
    import java.awt.event.*;
    public class SwingEvent extends JFrame{
    JLabel l1,l2,l3,l4,l5;
    JTextField t1,t2,t3;
    JButton b1,b2,b3;
    public SwingEvent(){}
    public SwingEvent(String a)
    {
    super(a);
    }
    public void setComponents(){
    l1=new JLabel("Addition of number");
    l2=new JLabel("First Number");
    l3=new JLabel("Second Number");
    l4=new JLabel();
    t1=new JTextField();
    t2=new JTextField();
    b1=new JButton("Addition Of Number");
    setLayout(null);
    l1.setBounds(50,50,2000,20);
    l2.setBounds(50,80,100,20);
    t1.setBounds(150,80,100,20);
    l3.setBounds(50,130,100,20);
    t2.setBounds(150,130,100,20);
    b1.setBounds(80,180,100,20);
    l4.setBounds(80,240,200,20);
    b1.addActionListener(new Handler());
    add(l1);
    add(l2);
    add(l3);
    add(l4);
    add(t1);
    add(t2);
    add(b1);
    }

    class Handler implements ActionListener{
    public void actionPerformed(ActionEvent e){
    int a=Integer.parseInt(t1.getText());
    int b=Integer.parseInt(t2.getText());
    int s=a+b;
    l4.setText("Result is"+s);
    }
    }
    public static void main(String[] args) {

    SwingEvent J2=new SwingEvent("Addition");
    J2.setComponents();
    J2.setSize(300,300);
    J2.setVisible(true);
    J2.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
    }

  • @saketsaxena8354
    @saketsaxena8354 7 ปีที่แล้ว +4

    when u r going to upload lectures on Android ml

  • @sauravkumar-ob6xc
    @sauravkumar-ob6xc 7 ปีที่แล้ว

    sir you really explained everything in a very clear way..... here is my code ..there is no any compilation error but only one component is showing on gui container why,, sir can you check it please
    import javax.swing.*;
    import java.util.*;
    import java.lang.*;
    import java.awt.event.*; //if we include java.awt.* only it will give an error.. we have to include the package as shown in this code
    class A
    {
    //JFrame jf=new JFrame("VIDYAPATI");
    String s1="square";
    String s2="kumar";
    //s2=s1; identifier is required here a/c to compilation we can't do here in the class member variables
    String s3=s1.toUpperCase();
    JFrame jf=new JFrame("VIDYAPATI"+s3);
    // jf=new JFrame("VIDYAPATI"+s2);
    JButton b1=new JButton("Add");
    JLabel l1=new JLabel("first no.");
    //l3=new JLabel("first no.");
    JTextField t1=new JTextField();
    JLabel l2=new JLabel("second no."); //to use the label class.......we have to import the java.awt.*
    JTextField t2= new JTextField();
    JLabel l3 =new JLabel() ;
    JTextField t3;
    void gui()
    {
    jf.setVisible(true);
    System.out.println("i am in the class A saurav function ");
    System.out.println("before viisble ");
    jf.setSize(400,400);
    System.out.println("just after visible ");
    jf.setDefaultCloseOperation(jf.EXIT_ON_CLOSE); // to end the whole program,,, bas yah ek baar chalna chahiye during code warna puri program kbhi end hi nhi hogi.
    System.out.println("just after Exit on close");
    s2=s1; //but we can do here which was not doable in our upper part codes
    System.out.println(s1+s2);
    jf.add(b1);
    b1.addActionListener(new Event());
    jf.setLayout(null);
    l1.setBounds(0,0,50,20); //it is the function of container classes
    l1.setBounds(0,30,50,20);
    l1.setBounds(0,60,50,20);
    l1.setBounds(0,90,50,20);
    l1.setBounds(0,120,50,20);
    l1.setBounds(0,150,50,20);
    jf.add(l1);
    jf.add(t1);
    jf.add(l2);
    jf.add(t2);
    jf.add(l3);
    jf.add(l1);
    }
    class Event implements ActionListener
    {
    public void actionPerformed(ActionEvent E)
    {
    int i=Integer.parseInt(t1.getText());
    int j= Integer.parseInt(t2.getText());
    int z=i+j;
    l3.setText("your adding result is"+z);
    }
    }
    }
    public class Guiprocheck
    {
    public static void main(String [] args)
    {
    A a1=new A();
    //ham khi bhi frame khi bhi component bana sakte hai aur use ham add kar sakte hai
    a1.gui();
    //A.gui();
    System.out.println("just after calling saurav function");
    Scanner sc = new Scanner(System.in);
    int i=sc.nextInt();
    System.out.println("inputed value"+" the value is "+i);
    //a1.jf.setVisible(true);
    //we can make true from any anywhere a/c to rule and regulation of the varibles //boolean type ....not as string as"true"
    }
    }

  • @mohammadyousif7463
    @mohammadyousif7463 5 ปีที่แล้ว

    Sir im from pakistan I really like your teaching style..please give more lectures on event handling..Thanks

  • @chetanpatil8649
    @chetanpatil8649 8 ปีที่แล้ว

    Hi Saurabh sir , thanks a lot for nice explanation. Can we implement actionlistener directly in example class instead of creating internal class. I may be wrong sir. thanks n advance :)

  • @RanaAbubakarKhan
    @RanaAbubakarKhan 7 ปีที่แล้ว

    Well done. make video on android studio

  • @deepakpatidar4419
    @deepakpatidar4419 7 ปีที่แล้ว

    sir pls explain use of getSource() method and getActionCommand method in Event Handling.

  • @gyanprakashpandey5246
    @gyanprakashpandey5246 7 ปีที่แล้ว

    hlo sir ur all vedeos are very helpful for me thank u sir . sir plz do more for GUI for making gaming graphic plz sir

  • @sauravkumar-ob6xc
    @sauravkumar-ob6xc 7 ปีที่แล้ว +5

    okk ......sir i got the bug of my code and the correct code is here
    import javax.swing.*;
    import java.util.*;
    import java.lang.*;
    import java.awt.event.*; //if we include java.awt.* only it will give an error.. we have to include the package as shown in this code
    class A
    {
    String s1="square";
    String s2="kumar";
    //s2=s1; identifier is required here a/c to compilation we can't do here in the class member variables
    String s3=s1.toUpperCase();
    JFrame jf=new JFrame("VIDYAPATI"+s3);
    JLabel l1,l2,l3;
    JTextField t1,t2;
    JButton b1;
    // jf=new JFrame("VIDYAPATI"+s2)
    void gui()
    {
    jf.setVisible(true);
    System.out.println("i am in the class A gui function ");
    System.out.println("before visible ");
    jf.setSize(500,400);
    System.out.println("just after visible ");
    jf.setDefaultCloseOperation(jf.EXIT_ON_CLOSE); // to end the whole program,,, bas yah ek baar chalna chahiye during code warna puri program kbhi end hi nhi hogi.
    System.out.println("just after Exit on close");
    s2=s1; //but we can do here which was not doable in our upper part codes
    System.out.println(s1+s2);
    b1=new JButton("Add");
    l1=new JLabel("first no.");
    //l3=new JLabel("first no.");
    t1=new JTextField();
    JLabel l2=new JLabel("second no."); //to use the label class.......we have to import the java.awt.*
    t2= new JTextField();
    l3 =new JLabel() ;
    b1.addActionListener(new Event());
    jf.setLayout(null);
    l1.setBounds(50,50,200,20); //it is the function of container classes
    t1.setBounds(150,50,100,20);
    l2.setBounds(50,80,100,20);
    t2.setBounds(150,80,100,20);
    b1.setBounds(80,110,100,20);
    l3.setBounds(50,130,300,30);
    jf.add(l1);
    jf.add(t1);
    jf.add(l2);
    jf.add(t2);
    jf.add(b1);
    jf.add(l3);
    }
    class Event implements ActionListener
    {
    public void actionPerformed(ActionEvent E)
    {
    int i=Integer.parseInt(t1.getText());
    int j= Integer.parseInt(t2.getText());
    int z=i+j;
    l3.setText("your adding result is"+z);
    }
    }
    }
    public class Guiprocheck
    {
    public static void main(String [] args)
    {
    A a1=new A();
    //ham khi bhi frame khi bhi component bana sakte hai aur use ham add kar sakte hai
    a1.gui();
    //A.gui();
    System.out.println("just after calling saurav function");
    Scanner sc = new Scanner(System.in);
    int i=sc.nextInt();
    System.out.println("inputed value"+" the value is "+i);
    //a1.jf.setVisible(true);
    //we can make true from any anywhere a/c to rule and regulation of the varibles //boolean type ....not as string as"true"
    }
    }

    • @LalitKumar-uz5pw
      @LalitKumar-uz5pw 5 ปีที่แล้ว +1

      add import java.awt.event.*;
      import javax.swing.*;
      import java.awt.event.*;
      public class additionSwing extends JFrame{
      JLabel l1,l2,l3,l4;
      JTextField t1,t2;
      JButton b1;
      public additionSwing(){}
      public additionSwing(String s){
      super(s);
      }
      public void setComponent(){
      l1 = new JLabel("Addition of two Number");
      l2 = new JLabel("First Numner");
      l3 = new JLabel("Second Number");
      l4 = new JLabel("Sum");
      t1 = new JTextField();
      t2 = new JTextField();
      b1 = new JButton("add");
      setLayout(null);
      l1.setBounds(50,50,200,20);
      l2.setBounds(50,80,100,20);
      t1.setBounds(150,80,100,20);
      l3.setBounds(50,130,100,20);
      t2.setBounds(150,130,100,20);
      b1.setBounds(80,180,100,20);
      l4.setBounds(50,240,200,20);
      b1.addActionListener(new Handler());
      add(l1);
      add(l2);
      add(t1);
      add(l3);
      add(t2);
      add(l4);
      add(b1);
      }
      class Handler implements ActionListener{
      public void actionPerformed(ActionEvent e){
      int a = Integer.parseInt(t1.getText());
      int b = Integer.parseInt(t2.getText());
      int s = a+ b;
      l4.setText("Result is"+s);
      }

      }
      public static void main(String args []){

      additionSwing ad = new additionSwing("Addition of two number");
      ad.setComponent();
      ad.setSize(300,300);
      ad.setVisible(true);
      ad.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      }

      }

  • @vartitgarg7822
    @vartitgarg7822 7 ปีที่แล้ว +6

    sir ,,,actually in the ending of the video before you last compile and run the title was swing example and it shows addition of two no.....while what you wrote in l3 was """result is"""" it shows """sum is""".......also l4 is not assigned anything. ....
    sir its a very big doubt of me plz..response
    i also asked you some queries in the c lectures but you didn't replied now eagerly waiting for your reply

    • @wasimakram7374
      @wasimakram7374 5 ปีที่แล้ว

      Yeah bro ,I have the same doubt as u have.but sir has not responded yet.if u r clear about it then plz tell me

    • @haiderbajwa5413
      @haiderbajwa5413 5 ปีที่แล้ว +1

      q k last pr jo code run huwa tha us mein sirf 3 label thy to l4 jis mein hm ny result rkha tha us ki jga l3 use ho raha hy. q k yaha result l3 mein rkha hy.or hmien koi or programme run kr k chutia bna dia gya hy.

    • @samyakjain1559
      @samyakjain1559 3 ปีที่แล้ว

      yes it an error , sir n kooi aur file bhi hoskta h save krrkhi ho aur vo run krdi h sir n

    • @samyakjain1559
      @samyakjain1559 3 ปีที่แล้ว

      @@haiderbajwa5413 bhai aasa nhi h glti hogai sir s aur esse jayada khuch nhi yeh abusing words use krna tik nhi hoga

  • @animeshdas8
    @animeshdas8 7 ปีที่แล้ว

    Sir,I want to know what is the difference between type casting and type conversion.

  • @kushmeetsinghsaluja6787
    @kushmeetsinghsaluja6787 7 ปีที่แล้ว +7

    I think there is something logical error in the code....Sir aapne l3 kyu use kiya in function action performed....and on compiling there is no error and add button event is not working...plz help

    • @bhanumittal1110
      @bhanumittal1110 6 ปีที่แล้ว

      l3 issliye use kia hai qki jo int a aur int b ko add karke result aayega, usse l3 mein set karke display karna hai JFrame mein.

    • @sujanntamang8889
      @sujanntamang8889 6 ปีที่แล้ว +1

      ya.. tht must be l4..

    • @faraztech3196
      @faraztech3196 6 ปีที่แล้ว +1

      Replace L3 by L4

  • @anujsharma6111
    @anujsharma6111 8 ปีที่แล้ว +1

    Thank you very much sir for all the videos...These videos help me a lot....Sir where are the lecture no. 65 to 69...Please reply sir....

  • @vishaljadhav6583
    @vishaljadhav6583 6 ปีที่แล้ว

    Thanx a lot sirg....mysirg...

  • @tanushreenagar3116
    @tanushreenagar3116 4 ปีที่แล้ว

    Thnks sir I watched whole playlist

  • @akashjaiswal1888
    @akashjaiswal1888 8 ปีที่แล้ว

    sir who invokes the main() method in java, c, c++ and c# programming language?

  • @thecodinghub6840
    @thecodinghub6840 3 ปีที่แล้ว

    Great teacher....

  • @AbdulBasit-wv7gc
    @AbdulBasit-wv7gc 8 ปีที่แล้ว

    sir min ne ap ki vidios se java kafi sekh li hi mujhe android sekhnee ka shok hi ab wo kese sekho ap ke koi tutorial hi to plez inform me aur ager ni hi to mujhe link send kijiye jis se min sekh sakoon and thanks sir you and your team for java SE

  • @uttamtak7809
    @uttamtak7809 6 ปีที่แล้ว

    I salute you sir.

  • @python8979
    @python8979 7 ปีที่แล้ว +8

    sir plz reply , is this complete java tutorial video

  • @NishaSingh-iy7do
    @NishaSingh-iy7do 4 ปีที่แล้ว +1

    Sir ky yeh end vedio h basic programming of Java ka??

  • @PramodYadav-dr9vq
    @PramodYadav-dr9vq 3 ปีที่แล้ว +1

    sir end main apne l3 main kyu set kiya l4 main kyu nhi ?????

  • @sagarchhabra02
    @sagarchhabra02 7 ปีที่แล้ว

    hello sir ! i have completed entire course from ur videos. u have done amazing work. I am really thankful to you. Also,i am curious to watch more videos of urs. please start creating again sir .it will be great help for everyone who want to learn java.

    • @sikhotechfromuzair9909
      @sikhotechfromuzair9909 7 ปีที่แล้ว

      Sagar kya ap ko java pori a gae hy??agar men yh course complete kar lun to men kya kya bnany k qabil ho jaun ga

  • @zeenatromana2082
    @zeenatromana2082 7 ปีที่แล้ว

    Sir please upload more swing in java videos play list

  • @sauravkumar-ob6xc
    @sauravkumar-ob6xc 7 ปีที่แล้ว

    sir may u upload the lecture on socket programming

  • @sagartyagi2450
    @sagartyagi2450 7 ปีที่แล้ว

    can you please tell me where u have used the L4 label...and why u have overwritten l3??

  • @anshuprakash5022
    @anshuprakash5022 5 ปีที่แล้ว

    Thanks a lot "SIR"!!!

  • @sourabhjaiswal4516
    @sourabhjaiswal4516 5 ปีที่แล้ว

    Sir I have requested to you please sir Ek project bhi Aap implementat kr kr btaeye taki hm logo ko thoda implementation ka knowledge ho....... Please sir Bcz. We don't have knowledge how develop projects using this by using..

  • @chandansharma-tt2vi
    @chandansharma-tt2vi 7 ปีที่แล้ว +1

    sir plz upload rest of the videos plz do hurry....we are waiting plz plz plz......

  • @muhammadmudassir4042
    @muhammadmudassir4042 8 ปีที่แล้ว

    Thank you sir g please upload aur videos in java

  • @OasisFinder
    @OasisFinder 6 ปีที่แล้ว

    Thats it?? no more videos ..? It was a nice journey xD ,so it means java SE is complete ?
    Now i am Java Developer xD , Thank you sir :) , it took me almost 4 week to learn java but its worth it,
    since i am from animation field .
    Next Stop Android App . xD

  • @ankitbartwal1043
    @ankitbartwal1043 8 ปีที่แล้ว

    great work sir

  • @satvik2342
    @satvik2342 7 ปีที่แล้ว

    Dear sir,
    I have a question.
    when I am clicking on Add button after providing the values , the result is displayed but it replaces the text second number . so, please tell me the solution for it?

  • @adarshkumarsingh2304
    @adarshkumarsingh2304 3 ปีที่แล้ว

    Sir aap ne ...setText function mai massage diya h"results is" .....but sir jb aap program rum kar rahe h to vata par "sum is " print kiya hua dikh rha h

  • @vishaljain196
    @vishaljain196 8 ปีที่แล้ว

    yes sir 66 to 70 video in not on your site and also on Your youtube channel and sir please upload jdbc and java Networking and java beans

  • @shivankgupta4304
    @shivankgupta4304 6 ปีที่แล้ว

    Sir , is that syllabus completed? upto 72 lectures.aftrv event handling when u will upload further lectures.

  • @muhammadsafiullah8428
    @muhammadsafiullah8428 5 ปีที่แล้ว

    Very helpful videos.

  • @theabhishekmittal
    @theabhishekmittal 7 ปีที่แล้ว +1

    SIR?
    HAS THE COURSE BEEN COMPLETED?
    PLZ REPLY

  • @vikashsingh-wf5ko
    @vikashsingh-wf5ko 8 ปีที่แล้ว

    thank you so much sir
    for uploading this Video

  • @abdulmoizahmer9770
    @abdulmoizahmer9770 7 ปีที่แล้ว

    Sir can u make a tutorial of adding a video in JFrame in java

  • @vedarthamrajagopalavishwan5604
    @vedarthamrajagopalavishwan5604 7 ปีที่แล้ว

    SIR EVENT HANDLING ON LISTS,MENUS,CHECK BOXES ETC . HOW TO DO IT SIR

  • @zabeerhussain2890
    @zabeerhussain2890 4 ปีที่แล้ว

    Very use full.thank u.