From 684e01bb190c7d0b95347b732aeb3cdeda4740d7 Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 18 Oct 2011 17:00:33 +0200 Subject: Module support --- source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java') diff --git a/source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java b/source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java index 0b6c9e4..39e7ee9 100644 --- a/source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java +++ b/source/com/c2kernel/lifecycle/instance/gui/model/WfVertexFactory.java @@ -36,7 +36,7 @@ public class WfVertexFactory implements VertexFactory, WorkflowDialogue new ActivityChooser( Language.translate("Please enter a Type for the new activity"), Language.translate("New " + vertexTypeId + " Activity"), - Resource.getImageResource("graph/newvertex_large.png").getImage(), + Resource.findImage("graph/newvertex_large.png").getImage(), this, mhm); a.setVisible(true); @@ -69,7 +69,7 @@ public class WfVertexFactory implements VertexFactory, WorkflowDialogue Language.translate("Activity name not unique. Please give another."), Language.translate("New " + vertexTypeId + " Activity"), JOptionPane.QUESTION_MESSAGE, - Resource.getImageResource("graph/newvertex_large.png"), + Resource.findImage("graph/newvertex_large.png"), null, null); if (newName.equals("")) -- cgit v1.2.3