source: src/main/java/negotiator/onetomany/Main.java@ 209

Last change on this file since 209 was 209, checked in by Tim Baarslag, 5 years ago

First GUI design of one-to-many negotiation

File size: 479 bytes
Line 
1package negotiator.onetomany;
2
3public class Main
4{
5 private Portfolio portfolio;
6
7 public Main()
8 {
9 Product redProduct = new Product("Red");
10 Product greenProduct = new Product("Purple");
11 Product blueProduct = new Product("Blue");
12
13 portfolio = new Portfolio();
14
15 portfolio.addProduct(redProduct);
16 portfolio.addProduct(greenProduct);
17 portfolio.addProduct(blueProduct);
18 }
19
20 public Portfolio getPortfolio()
21 {
22 return portfolio;
23 }
24
25}
Note: See TracBrowser for help on using the repository browser.