JavaFX program  Create a JavaFX GUI that allows the user to retrieve records from the product table in the example database. The GUI should allow the user to specify desired fields, desired order, and a where condition. Display only the desired fields in the desired order for the desired where condition. You may display the records in the GUI in any way you wish.   database below

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter9: Working With Text Functions And Creating Custom Formats
Section: Chapter Questions
Problem 1.3CP
icon
Related questions
Question

JavaFX program 

Create a JavaFX GUI that allows the user to retrieve records from the product table in the example database. The GUI should allow the user to specify desired fields, desired order, and a where condition. Display only the desired fields in the desired order for the desired where condition.
You may display the records in the GUI in any way you wish.

 

database below

 

--
Table structure for table `product
CREATE TABLE IF NOT EXISTS `product (
vin char(6) NOT NULL,
make varchar(16) NOT NULL,
model varchar(16) NOT NULL,
year int(4) NOT NULL,
color varchar(12) NOT NULL,
`price` decimal (9,2) NOT NULL,
PRIMARY KEY ('vin`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
Dumping data for table `product
INSERT INTO `product` (`vin`, `make`, `model`, `year`, `color`, `price`) VALUES
('12345A', 'Chevrolet', 'Volt', 2013, 'silver', 34000.00),
('22222V', 'Chevrolet', 'Malibu', 2013, 'red', 24000.00),
('35542C', 'Cadillac', 'Escalade', 2012, 'black', 72000.00),
('49879X', 'Buick', 'Lacrosse', 2013, 'white', 38000.00),
('58932H', 'Chevrolet', 'Camaro SS', 2012, 'yellow', 33000.00),
('60842G', 'Buick', 'Enclave', 2013, 'silver', 42000.00),
('77776M', 'Cadillac', 'CTS-V Coupe', 2013, 'blue', 40000.00),
('88789T', 'GMC', 'Terrain', 2012, 'red', 31000.00),
('90201K', 'Bugatti', 'Veyron', 2013, 'red', 1900000.00),
('99090P', 'Chevrolet', 'Spark', 2013, 'green', 14000.00);
/*140101 SET
*/;
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*140101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*140101 SET
Transcribed Image Text:-- Table structure for table `product CREATE TABLE IF NOT EXISTS `product ( vin char(6) NOT NULL, make varchar(16) NOT NULL, model varchar(16) NOT NULL, year int(4) NOT NULL, color varchar(12) NOT NULL, `price` decimal (9,2) NOT NULL, PRIMARY KEY ('vin`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- Dumping data for table `product INSERT INTO `product` (`vin`, `make`, `model`, `year`, `color`, `price`) VALUES ('12345A', 'Chevrolet', 'Volt', 2013, 'silver', 34000.00), ('22222V', 'Chevrolet', 'Malibu', 2013, 'red', 24000.00), ('35542C', 'Cadillac', 'Escalade', 2012, 'black', 72000.00), ('49879X', 'Buick', 'Lacrosse', 2013, 'white', 38000.00), ('58932H', 'Chevrolet', 'Camaro SS', 2012, 'yellow', 33000.00), ('60842G', 'Buick', 'Enclave', 2013, 'silver', 42000.00), ('77776M', 'Cadillac', 'CTS-V Coupe', 2013, 'blue', 40000.00), ('88789T', 'GMC', 'Terrain', 2012, 'red', 31000.00), ('90201K', 'Bugatti', 'Veyron', 2013, 'red', 1900000.00), ('99090P', 'Chevrolet', 'Spark', 2013, 'green', 14000.00); /*140101 SET */; CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*140101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*140101 SET
Expert Solution
steps

Step by step

Solved in 2 steps with 7 images

Blurred answer
Knowledge Booster
Data Binding
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning