Programming > Research Paper > Creating a GUI Bank Balance Application CSC 372 Colorado State University – Global Campus (All)

Creating a GUI Bank Balance Application CSC 372 Colorado State University – Global Campus

Document Content and Description Below

Creating a GUI Bank Balance Application 2 BankAccount.java import java.awt.Label; import java.awt.TextField; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax... .swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; public class BankAccount extends JPanel implements ActionListener{ JButton debit = new JButton("Debit"); JButton credit = new JButton("Credit"); JButton exit = new JButton("Exit"); TextField t1, t2, output; // text fields Label debitAccount, creditAccount, balanceAmount; // labels double accountBalance=0.0; public BankAccount(JFrame frame) { /* * * creating label , setting boundaries and adding to frame */ debitAccount = new Label(" Debit Amount :"); debitAccount.setBounds(50, 100, 100, 50); frame.add(debitAccount); /* * * creating text box and setting boundaries and adding to frame */ t1 = new TextField(""); t1.setBounds(150, 110, 100, 50); frame.add(t1); /* * * creating label , setting boundaries and adding to frame */ creditAccount = new Label(" credit Amount :"); creditAccount.setBounds(50, 180, 100, 50); frame.add(creditAccount); [Show More]

Last updated: 1 year ago

Preview 1 out of 7 pages

Add to cart

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Add to cart

Instant download

We Accept:

We Accept

Reviews( 0 )

$6.50

Add to cart

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

OR

REQUEST DOCUMENT
37
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 25, 2023

Number of pages

7

Written in

Seller


seller-icon
PAPERS UNLIMITED™

Member since 2 years

484 Documents Sold


Additional information

This document has been written for:

Uploaded

Apr 25, 2023

Downloads

 0

Views

 37

Document Keyword Tags

More From PAPERS UNLIMITED™

View all PAPERS UNLIMITED™'s documents »

Recommended For You

Get more on Research Paper »
What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·