draw UML diagram need help

From: HS1 (son_at_slingshot.co.nz)
Date: 10/31/04


Date: Mon, 1 Nov 2004 00:31:05 +1300

Hello all
I use a JOptionPane to input a string value. I do not know how it can link
with other classes in a UML diagram. I creat this box by using:

String input = (String)JOptionPane.showInputDialog(this, "Enter string
input", "Add input", JOptionPane.QUESTION_MESSAGE, NULL,
Mydata.Type,"Text");

(This code is written by Java)

When I click on a button, a OptionPane appears and I can input some text.
This text will be save in database.

Do I think I should create a class for it and draw it in a class diagram
Thank you
SH1


Quantcast