how to solve this simply question.. lol

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
slee382
Posts: 2
Joined: Wed Apr 01, 2009 11:52 pm

how to solve this simply question.. lol

Post by slee382 »

when i complie this

import javax.swing.*;

public class MyApplication{
public static void main(String[] args){
MyJFame myJFrame= new MyJFrame("My new WIndow", 20, 20, 200, 200);
}
}

error: Class names, 'MyApplication', are only accepted if annotation processing is explicitly requested
1 error

comes up.. how should i fix it...TT
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Google it! http://java.sun.com/docs/books/tutorial ... /problems/ First item corresponds to your issue
I choose to fight with a sack of angry cats.
Post Reply