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 04:30
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
question
Computers and Technology, 25.06.2019 04:10
8. create an abstract student class for parker university. the class contains fields for student id number, last name, and annual tuition. include a constructor that requires parameters for the id number and name. include get and set methods for each field; the settuition() method is abstract. create three student subclasses named undergraduatestudent, graduatestudent, and studentatlarge, each with a unique settuition() method. tuition for an undergraduatestudent is $4,000 per semester, tuition for a graduatestudent is $6,000 per semester, and tuition for a studentatlarge is $2,000 per semester. write an application that creates an array of at least six objects to demonstrate how the methods work for objects for each student type. save the files as student.java, undergraduatestudent.java, graduatestudent.java, studentatlarge.java, and studentdemo.java.
Answers: 1
question
Computers and Technology, 25.06.2019 10:30
Which of the following if statements uses a boolean condition to test: "if the item is on sale, you can buy it"? a: if( onsale < = "yes" ): b: if( onsale > = "yes" ): c: if( onsale == "yes" ): d: if( onsale ! = "yes" ):
Answers: 2
question
Computers and Technology, 26.06.2019 15:20
Which is true regarding pseudocode? it uses simple words and symbols to communicate the design of a program. it compiles and executes code. it expresses only complex processes. it gives a graphical representation of a set of instructions to solve a problem.
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, 31.07.2019 18:10
Questions on the website: 13722361