I have some questions regarding the representation of gui objects in uml class diagrams.
For example, if a has a class that extends JFrame, then I will create a UML class diagram with an inheritance symbol, but in JFrame I do not need to write all its class variables and methods, but only those whose class will use correctly?
Secondly, how can I imagine that my class will use a specific layout manager? With a symbol of association, I want, but I'm not sure.
Say, for example, I have a package called gr.mydomain.exampleproject
, and I have a class extending JFrame.
Is the following approach correct or do I need to put the JFrame in a separate package ( javax.swing
)?
source share