Community
Participate
Working Groups
Build Identifier: M20110210-1200 When I try to compile the attached project I get the following error, which, is too vague: Exception in thread "main" java.lang.Error: Unresolved compilation problem: at DialogDemo.main(DialogDemo.java:607) On the other hand TextPad, provides me with the following output, even, though I am still trying to resolve it: C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\CustomDialog.java:47: cannot find symbol symbol : class DialogDemo location: class components.CustomDialog private DialogDemo dd; ^ C:\Documents and Settings\Jon\workspace\JavaDev\myCode Snippets\CustomDialog.java:64: cannot find symbol symbol : class DialogDemo location: class components.CustomDialog public CustomDialog(Frame aFrame, String aWord, DialogDemo parent) { ^ 2 errors Tool completed with exit code 1 Reproducible: Always
Created attachment 195648 [details] Source code
Source code originating from http://download.oracle.com/javase/tutorial/uiswing/examples/components/DialogDemoProject/src/components/CustomDialog.java.
(In reply to comment #0) > Build Identifier: M20110210-1200 > > When I try to compile the attached project I get the following error, which, is > too vague: > > Exception in thread "main" java.lang.Error: Unresolved compilation problem: > > at DialogDemo.main(DialogDemo.java:607) That error is shown when you try to run the program, is that when you mean by 'compile'? > On the other hand TextPad, provides me with the following output, even, though > I am still trying to resolve it: > I'm not sure there would be any benefit to printing more information out when a launch fails in this manner, since you get a whole host of error markers in the source code - which point you directly to the problem(s) and in most cases give you quick fixes on how to solve them. Marking as worksforme, there are no plans to change this
Please note my disagreement with the review status.