I compiled my word processor program and i got this:
Well the problem is in the main class but the reason why i'm confused because whats something in my main class is the Nimbus look and feel"
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
I compiled my word processor program and i got this:
Well the problem is in the main class but the reason why i'm confused because whats something in my main class is the Nimbus look and feel"
Please review this article to see if it helps. If not, you might continue your own web searching for a solution, or come back with your results and updated question(s).
Can you post line 24 and the specifics about what kind of error happened there?
If you don't understand my answer, don't ignore it, ask a question.
One line does not a class make. Well, I suppose it's possible, but not in this case.
Norm was asking you to identify exactly which line in your source code editor is line 24 so that the source of the problem, identified as line 24 by the error message, can be correctly related to the same line in your code.
Also, you identify line 24 as the main class, but I'm wondering if you don't mean somewhere in the main() method, since there's no indication that there is a class named Main. Rather, the class in which the error occurs is identified as "JavaWordProcessor" at line 24 which occurs in the main() method. It's important to be precise in the use of terms chosen to discuss these details, because programmers are nothing if not precise and so that we communicate effectively.