The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Java GUI and UML component digram help?

Posted by Avin Sinanan on February 11, 2002 at 10:58 PM

Hello am looking for help with Java and UML component diagrams. this is my situation :

Am to draw the component diagrams in UML for a GUI I have made using Java Swing. The GUI has the following components :

1)Menubar

2)Menus - the menu items are File, Simulate, Results,Tutorial,Hlp

3)Menu items - the menu items are save, open, Simulate now, view results, Start tutorial, start help

4)Toolbar

5)Tool bar contains various buttons

6)JCanvas

7)Whenever you ckick a button on the toolbar an Icon is added to the JCanvas. And this icon can be dragged to any point on the JCanvas using the mouse.

8)Line can be draw to connect the icons on the screen

9)If an icon has a line attched to it and iy is dragged the line stretches to suit.

10)More than one components can be conencted using lines.

Ok I hope this explantion is clear :)

Ok what I need to know is what components will be included in my compoenent diagrams and when will be associated with what. I looked at UML tutorials over the net and I cannot figure this out. They only give you examples not concering software...

Anyway thanks for reaidng.. any kind of help would be gretaly appreciated..thanks...



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us