Hello am doing a UML project and I got the hang of most of the UML diagrams by reading tutorials on the net. The only one I don't get is the component diagram.
What is it suppose to show.
For example am using
Java Swing to design a Menu bar and attach it toa JFrame.
The menu bar has Open and Save options.
I can do the Use casue diagrams, sequnce diagrams for saving a file , the Class Digrams and so fort. But what is the Component Disgram suppose to show in a case like this?
In my opinion the Compoennet diagrams would be
1) Frame
2) Menu bar
3) Menu
4)Menu Items
I would just draw 4 compoents boxes and put those four names in it. Am I right or am I wrong. Any advise would be greatly appreciated.
I know showing a componenet diagram is kinda extreme for something as simple as a menu bar but am doing a project and its required that I show all the diagrams for the menu bar.
Thanks
Yours respectfully Avin Sinanan