+ engine.getEngineTypeName() + "<br>" + engine.getMaxSpeed() + " m.p.h. " + engine.getPowerAtDrawbar() + " hp $" + engine.getPrice()
+ engine.getEngineTypeName() + "<br>" + engine.getMaxSpeed() + " m.p.h.<br>" + engine.getPowerAtDrawbar() + " hp<br>" + "price: $" + engine.getPrice() + "<br>" + "maintenance: $" + engine.getMaintenance() + "/year"
        public Component getListCellRendererComponent(        JList list,        Object value,        /* value to display*/        int index, /* cell index*/        boolean isSelected, /* is the cell selected*/        boolean cellHasFocus) /* the list and the cell have the focus*/ {                        EngineType engine = (EngineType) value;            label.setFont(new java.awt.Font("Dialog", 0, 12));            String text =            "<html><body>"            + (isSelected ? "<strong>" : "")            + engine.getEngineTypeName()            + "<br>"            + engine.getMaxSpeed()            + " m.p.h. "            + engine.getPowerAtDrawbar()            + " hp $"            + engine.getPrice()            + (isSelected ? "</strong>" : "")            + "</body></html>";            label.setText(text);            Image image = viewLists.getTrainImages().getSideOnEngineImage(index);            int height = image.getHeight(null);            int width = image.getWidth(null);            int scale = height/50;            ImageIcon icon = new ImageIcon(image.getScaledInstance(width/scale, height/scale, Image.SCALE_FAST));            label.setIcon(icon);                        return label;        }