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: 2 years ago

Preview 1 out of 7 pages

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)
Preview image of Creating a GUI Bank Balance Application CSC 372 Colorado State University – Global Campus document

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Reviews( 0 )

$6.50

Buy Now

We Accept:

Payment methods accepted on Scholarfriends (We Accept)

Instant download

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

85
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 25, 2023

Number of pages

7

Written in

All

Seller


Profile illustration for PAPERS UNLIMITED™
PAPERS UNLIMITED™

Member since 4 years

509 Documents Sold

Reviews Received
55
20
8
2
8
Additional information

This document has been written for:

Uploaded

Apr 25, 2023

Downloads

 0

Views

 85

Document Keyword Tags

More From PAPERS UNLIMITED™

View all PAPERS UNLIMITED™'s documents »

Recommended For You

Get more on Research Paper »

$6.50
What is Scholarfriends

Scholarfriends.com Online Platform by Browsegrades Inc. 651N South Broad St, Middletown DE. United States.

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 © Scholarfriends · High quality services·