@@ -0,0 +1,577 @@
+package devopsdistilled.operp.client.items.views;%0A%0Aimport javax.swing.JComponent;%0Aimport javax.swing.JDialog;%0A%0Aimport devopsdistilled.operp.server.data.entity.Entiti;%0A%0Apublic abstract class EntityDetailsDialog%3CE extends Entiti%3E %7B%0A%0A%09protected final JDialog dialog;%0A%0A%09public EntityDetailsDialog() %7B%0A%09%09dialog = new JDialog();%0A%09%09dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);%0A%09%09dialog.setTitle(%22Details%22);%0A%09%09dialog.setSize(400, 300);%0A%09%7D%0A%0A%09public abstract JComponent getPane();%0A%0A%09public abstract void show(E entity);%0A%0A%09public JDialog getDialog() %7B%0A%09%09return dialog;%0A%09%7D%0A%7D%0A

Create abstract EntityDetailsDialog