شركة كهرباء Question 2 (75%) The electricity company calculates the payment of the bills using a GUI-based application.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

شركة كهرباء Question 2 (75%) The electricity company calculates the payment of the bills using a GUI-based application.

Post by answerhappygod »

 1
1 (82.89 KiB) Viewed 39 times
شركة كهرباء Question 2 (75%) The electricity company calculates the payment of the bills using a GUI-based application. user enters his ID number, and the app displays on screen the amount to be paid. This is what the screen looks like when the user runs the application: & Pay Bills X If the user clicks the Get Bill button when no ID is entered, an error message will appear on screen in the message box informing you that the ID field must contain some value. If the entered the ID field, the amount to be paid will appear on the screen and a button that alle payment. After clicking Get Bill, the screen will look like this: # Pay Bills DX 333 Total pay: So Pay (5%) Write down the names and types of components that appear on the screen B5%) Write the commands for creating the app screen. The entire screen is in called MainPanel. Complete the code required to create the screen. You may c panels and specify their code separately. (Note- the intention is to specify or creates the visual appearance of the screen - there is no need to write any le ublic class MainPanel extends JPanel Write your code here
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply