Question: using java Design a Swing GUI to search for a text file in the following format: Product ID: String 8 Description: String 20 Price: Float

using java

Design a Swing GUI to search for a text file in the following format:

Product ID: String 8

Description: String 20

Price: Float 7

Quantity: 4

Product id Description Price Quantity

P1122334 Laptop Windows 10 1964.38 12

Open the text file and read each record, separating the data into each field. Place each field into a JTable element similar to this:

using java Design a Swing GUI to search for a text file

Once the data has been loaded, select a particular record from the table and display the details in a dialog box for review.

Table Example ID NAME SALARY 101 Amit 670000 Ta 102 780000 101 Sachin 700000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!