Create a folder named LastName_FirstName (ex. Reyes_Mark) in your local drive. 2. Create a new project named TaskPerf7. Set the project location to your own folder. 3. Extend the JFrame class and implement either the MouseListener interface or the KeyListener interface. 4. Add Swing components to the JFrame such as the following: • JLabel • JTextField • JButton • JCheckBox • JComboBox 5. Add events to your components by placing statements within the methods listed below. MouseListener interface methods: • mouseClicked(MouseEvent e) • mouseEntered(MouseEvent e) • mouseExited(MouseEvent e) • mousePressed(MouseEvent e) • mouseReleased(MouseEvent e) KeyListener interface methods: • keyPressed(KeyEvent e) • keyTyped(KeyEvent e) • keyReleased(KeyEvent e)
23754 views28 answers1 votes
The 200-kg, 5-m-wide rectangular gate shown in figure is hinged at B and leans against the floor at A making an angle of 45° with the horizontal. The gate is to be opened from its lower edge by applying a normal force at its center. Determine the minimum force F required to open the water gate.
14 views1 answers0 votes
The 280-kg, 6-m-wide rectangular gate shown in Fig.1, is hinged at B and leans against the floor at A making an angle of 45° with the horizontal. The gate is to be opened from its lower edge by applying a normal force at its center. Determine the minimum force F required to open the water gate.
9 views0 answers0 votes
Consider a set of random numbers IIDR [0, 1] = [0.11, 0.63, 0.95, 0.37, 0.08, 0.71, 0.56, 0.45, 0.29, 0.68]. Check for uniformity applying (i) Kolmogorov-Smirnov test (ii) Chi square test
10 views2 answers0 votes
What are the characteristics of queues? Explain simulation of a single-server queuing system considering the inter-arrival time and the service time for the first 10 customers to be: Inter-arrival time: (0, 17, 13, 22, 30, 18, 5, 15, 10, 12) min; Service time: (20, 15, 10, 6, 15, 18, 10, 10, 8, 12) min Simulate the system, and Obtain average waiting time of customers, average idle time of server, and average queue length (considering the customer being served to form a queue). Plot the performance of the queuing system.
11 views1 answers0 votes