Creating Java Dialogs

Posted by mike_hornbeck on Stack Overflow See other posts from Stack Overflow or by mike_hornbeck
Published on 2010-05-27T17:55:40Z Indexed on 2010/05/27 18:01 UTC
Read the original article Hit count: 126

Filed under:
|
|
|

What would be the easiest way for creating a dialog:
- in one window I'm giving data for envelope addressing, also set font type from list of sizes
- when clicked OK, in the same window or in next window I get preview of how the envelope would look like with the given names, and used selected font size

It should look similarly to this :

alt text

Should I use Jdialog ? Or will JOptionPane will be enough ? The next step will be to choose color of font and background so I must keep that in mind.

© Stack Overflow or respective owner

Related posts about java

Related posts about homework