|
|
@@ -1,4 +1,4 @@
|
|
|
-package org.leumasjaffe.recipe.view;
|
|
|
+package org.leumasjaffe.recipe.view.summary;
|
|
|
|
|
|
import java.awt.Dimension;
|
|
|
import java.awt.GridBagConstraints;
|
|
|
@@ -13,6 +13,7 @@ import javax.swing.JTextPane;
|
|
|
|
|
|
import org.jdesktop.swingx.VerticalLayout;
|
|
|
import org.leumasjaffe.recipe.model.Element;
|
|
|
+import org.leumasjaffe.recipe.view.ImagePanel;
|
|
|
|
|
|
import lombok.AccessLevel;
|
|
|
import lombok.experimental.FieldDefaults;
|
|
|
@@ -89,7 +90,7 @@ public class SummaryPanel extends JPanel {
|
|
|
add(txtpnDescription, gbc_txtpnDescription);
|
|
|
}
|
|
|
|
|
|
- void addProduct(final Element comp) {
|
|
|
+ public void addProduct(final Element comp) {
|
|
|
panelIngredients.add(new ElementSummaryPanel(comp));
|
|
|
panelIngredients.add(new JSeparator());
|
|
|
}
|