Creating Java Frame Form GUI Calculating Simple Interest

preview_player
Показать описание
Hello fellow mates !

In this video I have created a Java frame form application with the help of Netbeans IDE . The frame form will include 4 jLabel and 4 jTextField components and 1 jButton component.
In the jButton component we have stored our code after double clicking the jButton on the design window of the GUI. In the code I have used the getText() along with parseInt() [For time] and parseFloat() [For pricipal and rate of interest] and then with the setText() method I have displayed the output on jTextField4.
(Formula to calculate simple interest SI = [p x r x t] / 100)
p is Principal Amount
r is Rate of Interest
t is Time Period (should correspond to the rate of Interest)
Рекомендации по теме
visit shbcf.ru