AWT

Is there anything in AWT like JOptionPane in swing?Basically iam drawing a rectangle from left top to right bottom if at alla the user start from rightbottom to left top i will be displaying an JOptionPane .show message dialog().but can i do this without swing using only AWT?
[290 byte] By [Sunandinia] at [2007-11-27 5:58:29]
# 1
Use a Dialog. That all a JOptionPane is. Its a preformatted JDialog.
camickra at 2007-7-12 16:33:11 > top of Java-index,Desktop,Core GUI APIs...
# 2
that means now should I write a class extending Dialog class.showmessageDialog method is not included so how will i get a window displaying that msg?Can u please help me out in this...i shudn't use SWING at all.Only i an import all awt pakages.
Sunandinia at 2007-7-12 16:33:11 > top of Java-index,Desktop,Core GUI APIs...
# 3
You add components to a Dialog the same way you add components to a Frame.
camickra at 2007-7-12 16:33:11 > top of Java-index,Desktop,Core GUI APIs...