subject

Using Java In this assignment you are asked to write a program about a e-shopping order menu.
While doing this project you must use OOP concepts. Implement a stocking program using
threads.
There must be three text fields and two buttons.
– Number of Items (Text Field): Number of items in a stocks.
– Number of Agents (Text Field): Number of agents (threads).
– MaximumWaiting Time (Text Field): Agents will wait for some time after booking
an item. The waiting time will be a random number between 0 and the number
entered in this text field. Waiting times must be different for each agent.
– Create (Button): Creates items and adds them to frame.
– Good (Button): Agents start to number of goods( items).
When an agent books an item, it must wait for some time and try to book another
item, until there is no unbooked items left.
When an item is booked, its number must decrease and the agent that booked it must
be stated.
All items must be booked and one item can’t be sold by two agents.
1
After all items are booked, a message dialog must appear and show the number of
items booked, and ask user if they are going to buy it.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 18:30
Is a type of bullying that takes place when a person intentionally posts negative information about another that is not true
Answers: 1
question
Computers and Technology, 25.06.2019 05:50
Acolor class has three public, integer-returning accessor methods: getred, getgreen, and getblue, and three protected, void-returning mutator methods: setred, setgreen, setblue, each of which accepts an integer parameter and assigns it to the corresponding color component. the class, alphachannelcolor-- a subclass of color-- has an integer instance variable, alpha, containing the alpha channel value, representing the degree of transparency of the color. alphachannelcolor also has a method named dissolve (void-returning, and no parameters), that causes the color to fade a bit. it does this by incrementing (by 1) all three color components (using the above accessor and mutator methods) as well as the alpha component value. write the dissolve method.
Answers: 2
question
Computers and Technology, 25.06.2019 06:20
Horseback riders, bicyclists, and skateboarders the rules of right-of-way when they use the road ?
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
7. test average and grade write a program that asks the user to enter five test scores. the program should display a letter grade for each score and the average test score. write the following methods in the program: calcaverage: this method should accept five test scores as arguments and return the average of the scores. determinegrade: this method should accept a test score as an argument and return a letter grade for the score, based on the following grading scale: score letter grade 90-100 a 80-89 b 70-79 c 60-69 d below 60 f
Answers: 1
You know the right answer?
Using Java In this assignment you are asked to write a program about a e-shopping order menu.
...
Questions
question
Mathematics, 12.08.2020 04:01
Questions on the website: 13722360