Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

**NETBEANS---JAVA CODE I'm having problem with the SAVE button code. Can someone help me. Thank you!! Add New Parcel Add New Parcel-Customer Info Parcel Information

image text in transcribedimage text in transcribed**NETBEANS---JAVA CODE

I'm having problem with the SAVE button code. Can someone help me. Thank you!!

Add New Parcel Add New Parcel-Customer Info Parcel Information Name: Sachi Patel Address: 123 Main Street City: Peach Tree State: GAZip: 3321 Save Cancel Figure 2. After Scan New is pressed and valid customer information is entered in AddParcel form Clicking the Save JButton in the AddNew form performs validation for all fields and sets the data to a Person object, a Parcel object is created with that Person and added to the ArrayList of shipped Parcels. The navigational Back and Next JButtons and the Search are not enabled yet because there is only one parcel scanned so far. Adding more than one parcel should enable them however. You could use these navigational buttons to position a parcel that needs to be edited or deleted Shipping Hub File Action Help Arrived at: Wed Jan 29 23:37:28 PST 2014 Parcel Information Parcels by State Parcel ID: 1 Name: Address: 123 Main Street City: GA Sachi Patel Peach Tree State:GA Zip: 33215 Scan New Remove Edit Search Figure 3. After Save in Add is pressed and the very first parcel information is scanned successfully Note how the newly added parcel is shown in the Parcels by State panel. The state is updated and the parcel number is shown in the JList. Selecting a parcel from this list should display the parcel information. Note in the screen capture above that the buttons are disabled (and the Search button should be as well) because there is only one record so far and there is no need to navigate. Add New Parcel Add New Parcel-Customer Info Parcel Information Name: Sachi Patel Address: 123 Main Street City: Peach Tree State: GAZip: 3321 Save Cancel Figure 2. After Scan New is pressed and valid customer information is entered in AddParcel form Clicking the Save JButton in the AddNew form performs validation for all fields and sets the data to a Person object, a Parcel object is created with that Person and added to the ArrayList of shipped Parcels. The navigational Back and Next JButtons and the Search are not enabled yet because there is only one parcel scanned so far. Adding more than one parcel should enable them however. You could use these navigational buttons to position a parcel that needs to be edited or deleted Shipping Hub File Action Help Arrived at: Wed Jan 29 23:37:28 PST 2014 Parcel Information Parcels by State Parcel ID: 1 Name: Address: 123 Main Street City: GA Sachi Patel Peach Tree State:GA Zip: 33215 Scan New Remove Edit Search Figure 3. After Save in Add is pressed and the very first parcel information is scanned successfully Note how the newly added parcel is shown in the Parcels by State panel. The state is updated and the parcel number is shown in the JList. Selecting a parcel from this list should display the parcel information. Note in the screen capture above that the buttons are disabled (and the Search button should be as well) because there is only one record so far and there is no need to navigate

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions