Write a GUI javafx or swing application in Java that allows user to select Employees by...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a GUI javafx or swing application in Java that allows user to select Employees by their city. Employee Info Select Employee by City 300111222 SARA Elsa 300233444 300111777 Laura 300223444 Elsa 300444222 Robert Malone Orange Brown Red Smith Toronto 10 Somewhere Road 222 Progress Avenue 333 Eglinton Avenue East 222 Progress Avenue 20 Green Avenue postal Code char (6) NOT NULL, PRIMARY KEY (employeeID) Display Toronto Toronto Toronto Toronto Toronto ON ON ON ON ON The user should be able to enter the city. The application should retrieve the Employee information from an Oracle table named Employee. Here is the definition of the table: CREATE TABLE Employee ( employee ID char (9) NOT NULL, firstName varchar (20) NOT NULL, lastName varchar (20) NOT NULL, address varchar (30) NOT NULL, city varchar (30) NOT NULL, province char (2) NOT NULL, M1Y2H: M3T5Y5 M3T7Y7 M3T5Y3 M5G3H ); Populate the table with several rows as below: insert into Employee values (¹300111222', 'Sam', 'Malone', '10 Somewhere Road', 'Toronto', 'ON', 'M1Y2H2'); commit; The information should be displayed in a JTextArea or TextArea component which has scrolling abilities. Use "\t" and "\n" to format the display. Use the most appropriate layout manager classes to implement the layout of this GUI. marks) (100 Write a GUI javafx or swing application in Java that allows user to select Employees by their city. Employee Info Select Employee by City 300111222 SARA Elsa 300233444 300111777 Laura 300223444 Elsa 300444222 Robert Malone Orange Brown Red Smith Toronto 10 Somewhere Road 222 Progress Avenue 333 Eglinton Avenue East 222 Progress Avenue 20 Green Avenue postal Code char (6) NOT NULL, PRIMARY KEY (employeeID) Display Toronto Toronto Toronto Toronto Toronto ON ON ON ON ON The user should be able to enter the city. The application should retrieve the Employee information from an Oracle table named Employee. Here is the definition of the table: CREATE TABLE Employee ( employee ID char (9) NOT NULL, firstName varchar (20) NOT NULL, lastName varchar (20) NOT NULL, address varchar (30) NOT NULL, city varchar (30) NOT NULL, province char (2) NOT NULL, M1Y2H: M3T5Y5 M3T7Y7 M3T5Y3 M5G3H ); Populate the table with several rows as below: insert into Employee values (¹300111222', 'Sam', 'Malone', '10 Somewhere Road', 'Toronto', 'ON', 'M1Y2H2'); commit; The information should be displayed in a JTextArea or TextArea component which has scrolling abilities. Use "\t" and "\n" to format the display. Use the most appropriate layout manager classes to implement the layout of this GUI. marks) (100
Expert Answer:
Answer rating: 100% (QA)
Working code implemented in Java and appropriate comments provided for better understanding Here I am attaching code for all files FinalTestjava ConnectionTestjava Mainjava Applicationcss FinalTestjav... View the full answer
Related Book For
Project Management The Managerial Process
ISBN: 9781260570434
8th Edition
Authors: Eric W Larson, Clifford F. Gray
Posted Date:
Students also viewed these programming questions
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
Write a project management plan. we have a template and project description. we need to edit the template(table of contents) with our own ideas. CPSC 8820-01 Project Management Plan Your Unique...
-
To demonstrate the ability to propose, implement, and query the database. Problem: MovinOn Inc. is a moving company that provides moving and storage services in California, Nevada, and Arizona....
-
What is the importance of developing plans to achieve organizational goals? explain with examples
-
Now assume that the cost to replicate Project S in 2 years will increase to $105,000 because of inflationary pressures. How should the analysis be handled now, and which project should be chosen?
-
Flexible wages play a critical role in removing an economy from a recessionary gap. Do you agree or disagree? Explain your answer.
-
What is the current through the battery in Figure P23.62 when the switch is (a) open and (b) closed? FIGURE P23.62 10 V 2002 6002 www Switch) 40 1002
-
Big Steves, makers of swizzle sticks, is considering the purchase of a new plastic stamping machine. This investment requires an initial outlay of $100,000 and will generate net cash inflows of...
-
Use the table for the question(s) below. Consider the following yields to maturity on various oneyear zerocoupon securities: Security Yield (%) Treasury 4.6 AAA corporate 4.8 BBB corporate 5.6 B...
-
Crawford Labs has increased its profitability dramatically by using models to allocate its sales force among the company's major drugs. To guide that effort, a nonlinear sales-response curve is...
-
One way to clearly see the impact of shifting cultural values on consumption is to look at the increasing emphasis on the importance of health and wellness. In recent years, top-performing new...
-
Conditions: Imagine that you just started working for a financial organization that provides several financial calculators as web services that are available to third-party developers. Kelsey has...
-
Describing the relationships between the various financial statements. How does one transfer information to the other statements? What stories do they tell?
-
Define the two possible types of capital rationing, and discuss how capital rationing affects the attainment of management's goal of maximizing shareholders' value.
-
In which type of hedge fund investment, managers buy or sell securities and then hedge part or all of the associated risks? Question 7Answer Distressed securities Convertible arbitrage strategies...
-
1. simply list the factors affecting your decisions. 2. From the list, identify the factor that mostly makes an impact in your decision making. 3. Give an experience where that factor influenced your...
-
Consider the data and context Granodiorite Otz Monzonite Ephemeral Springs Chloride concentration in mg/L 6.0 0.5 0.4 0.7 0.8 6.0 5.0 0.6 1.2 0.3 0.2 0.5 0.5 10 0.2 0.2 1.7 3.0 1.0 0.2 1.2 1.0 0.3...
-
The test statistic in the NeymanPearson Lemma and the likelihood ratio test statistic K are intimately related. Consider testing H 0 : = 0 versus H a : = a , and let * denote the test statistic...
-
1 . Can you think of a local public project that had significant cost overruns like the Portland Tram project? 2 . Do you agree with the statement that nothing great would ever be built if people...
-
What effect do you think 360-degree reviews have on the culture of an organization?
-
Mrs. Publinsky and her husband, Xander, are planning their dream house. The lot for the house sits high on a hill with a beautiful view of the White Mountains. The plans show the size of the house to...
-
Lennon Industries had the following transactions. 1. Borrowed 5,000 from the bank by signing a note. 2. Paid 3,900 cash for a computer. 3. Purchased 650 of supplies on account. Instructions a....
-
The T-accounts below summarize the ledger of Negrete Landscaping at the end of the first month of operations (amounts in ). Instructions a. Prepare the complete general journal (including...
-
The order of the accounts in the ledger is: a. assets, revenues, expenses, liabilities, share capitalordinary, dividends. b. assets, liabilities, share capitalordinary, dividends, revenues, expenses....
Study smarter with the SolutionInn App