Java

Java Swings Graphical user interface Questions Practice



Subscribe the Channel for all Study Material related to Computer Science – B.C.A., B.Tech., M.C.A., M.Tech., B.Sc. and M.Sc. Computer Science and Class XI , XII. Placement Training and Competitive Exam Training is provided too.
For one to one online coaching email me or text me at below given contact information
Subscribe my Programming Youtube Channel in English :
Subscribe and Share my FAMILY AND VLOG channel :…

9 thoughts on “Java Swings Graphical user interface Questions Practice

  1. String name;
    int grade,salary;
    name=t1.getText(" ");
    if(C1.get Selected Index()==0)
    grade=50000;
    else if(C1.get Selected index()==1)
    grade=40000;
    else if(C1.get Selected index()==2)
    grade=30000;
    else if(C1.get Selected index()==3)
    grade=15000;
    else
    grade=0;
    if(R1.isSelected())
    salary=grade;
    else if(R2.isSelected())
    salary= grade/2;
    else
    salary=0;
    T2.setText(" "+salary);

Leave a Reply

Your email address will not be published. Required fields are marked *