Is there a way to show return value of method call in sequence diagram. For example can anybody give me a step by step solution of folloving behavior:
class A {
...
public void someMethod() {
Panel panel=someClass.getPanel();
someOtherClass.setPanel(panel);
}
...
If I create a method call on getPanel() and then click on the return message icon of that call I can select only methods from class A.