aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Custom message box using Swings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Custom message box using Swings " Watch "Custom message box using Swings " New topic
Author

Custom message box using Swings

sahitya
Greenhorn

Joined: May 01, 2008
Posts: 14
Hi

I am developing a GUI application. In that,user will select the date and when I click a button, that date should appear in a message box.

Date is retrieved correctly. But I am not able to display the date in message box. How to display date in a message box?

Using JOptionPane, I can only display static messages.

Please help. Let me know if you need any other information.

Thanks in advance.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> Using JOptionPane, I can only display static messages.

sounds like you might have all your code in main().

simple demo

sahitya
Greenhorn

Joined: May 01, 2008
Posts: 14
Thanks..Its working
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Custom message box using Swings