CODING OF SIMPLE INTEREST BUTTON(jButton1)
float p,r,t,si;
p=Float.parseFloat(jTextField1.getText());
r=Float.parseFloat(jTextField2.getText());
t=Float.parseFloat(jTextField3.getText());
si=(p*r*t)/100;
jTextField4.setText(" "+si);
CODING OF CLEAR BUTTON(jButton2)
jTextField1.setText(" ");
jTextField2.setText(" ");
jTextField3.setText(" ");
jTextField4.setText(" ");
CODING OF EXIT BUTTON(jButton3)
System.exit(0);
float p,r,t,si;
p=Float.parseFloat(jTextField1.getText());
r=Float.parseFloat(jTextField2.getText());
t=Float.parseFloat(jTextField3.getText());
si=(p*r*t)/100;
jTextField4.setText(" "+si);
CODING OF CLEAR BUTTON(jButton2)
jTextField1.setText(" ");
jTextField2.setText(" ");
jTextField3.setText(" ");
jTextField4.setText(" ");
CODING OF EXIT BUTTON(jButton3)
System.exit(0);
![]() |
CODING |
![]() |
RUNNING |
We have used NetBeans IDE 7.2.1. To download it visit www.netbeans.org
For any query or suggestion please comment below...
Programming is combination of intelligent and creative work. Programmers can do anything with code. The entire Programming tutorials that you mention here on this blog are awesome. Beginners Heap also provides latest tutorials of Programming from beginning to advance level.
ReplyDeleteBe with us to learn programming in new and creative way.
That is really nice to hear. thank you for the update and good luck.
ReplyDeletejava tutorial
oh ,yeah
ReplyDeleteoh yeah,it is really helpful
ReplyDeleteThanks for sharing amazing information !!!!!!
ReplyDeletePlease keep up sharing.
The blog article extremely amazed to me! You're composing is great. In this I took in a ton! Much obliged to you!
ReplyDeletegreat
ReplyDelete