Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

here is the lab i am having issues with i need redone with NEtBeans please.

here is the lab i am having issues with i need redone with NEtBeans please. thank you in advance.

CIS355A Week 4 Lab—Processing Arrays of ObjectsOBJECTIVESCreate a GUI that uses JList and JTabbedPanes.Process mul±ple objects in an ArrayList.Code event handlers for mul±ple events.PROBLEM: Stocks4U Por±olio Management SystemStocks4U needs to develop an app for you to manage your stock purchases. You should be ableto store a list of stock purchases, view the individual stocks, add and remove stocks.FUNCTIONAL REQUIREMENTSYou can code the GUI by hand or use NetBeans GUI builder interface.The GUI should have two tabs using JTabbedPane.One tab (“Show stocks”) should haveoa JList to display all the stock purchases;oa text Feld or label to display informa±on about a par±cular stock; andoa JBu²on to remove a stock.One tab (“Add stock”) should have textboxes, labels, and a bu²on to input a stock.Create a Stock class to manage the stock ac±vity. It should have private instance variables ofcompany name;number of shares;purchase price; andcurrent price.Create a default and parameterized constructor.Create sets/gets for all instance variables.Create a get method to calculate and return the proFt or loss. This would be calculated asNumber of shares * (current price – purchase price).Create toString to display the name of the stock.As you add stocks, they are displayed in the JList.If you select an element in the JList, the gain or loss is displayed in the label or text Feld.If you select an element in the JList and click Remove, the stock is removed from the list.CIS355A Week 4 Lab Instruc±onsPage 1
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"