2013-12-04

Ok so I am having trouble writing my WarehouseTest.java case that follows the following UML:

My code so far:

import javax.swing.JOptionPane;

public class WarehouseTest
{

} // end class WarehouseTest

It obviously does not compile because it's still in the process of drafting.
I am trying to obtain this output:

http://imgur.com/a/c6B1A#2
http://imgur.com/a/c6B1A#3

My corresponding java files related are

public abstract class Warehouse implements Transport
{

}

public interface Transport
{

}

public abstract class SolarWarehouse extends Warehouse
{

}

public abstract class ClimateControlledWarehouse extends Warehouse
{

}

{

}

My question is getting the warehouseTest.java to compile so that the correct output from the imgur links is obtained on the corresponding dialog boxes. Any help would be greatly appreciated.

Show more