• Post Reply Bookmark Topic Watch Topic
  • New Topic

alert boxes

 
Michael Duku-Kaakyire
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem with my homewrok I read the solution ginev by Mr Daniel Searson but I am still not clear.If you could summarize how the code is wriitten I would be cery grateful.
Here it is
Write a simple class called Message with a single public method that brings up a modal dialog with a user specified string
message. The box should have a single button with the label "OK". When the button is pressed, the box is dismissed. This class should have a single static, public method with this signature:
public static void alert(String message, Frame parent)

Thanks
Michael
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Seems pretty clear to me. What have you come up with so far. Please code it for me won't cut it around here. What in particular do you not understand? What have you tried? Have you even started? We will help around here, but don't ask people to do your homework.
Here is a link to the sun tutorial that should help.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!