Rob Camick wrote:How do you create any class? Somewhere you need code like:
That would probably be executed when you click on a button.
Instead of asking all these questions and not replying when you get answers its time you start posting a SSCCE with your question that shows what you've attempted.
There was a missing file, I didn't realize sorry, however I'm still getting compilation errors with both .java files in place:
C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\DialogDemo.java:64: cannot find symbol
symbol : class CustomDialog
location: class components.DialogDemo
CustomDialog customDialog;
^
C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\DialogDemo.java:70: cannot find symbol
symbol : class CustomDialog
location: class components.DialogDemo
customDialog = new CustomDialog(frame, "geisel", this);