Bookmark Topic Watch Topic
  • New Topic

Xlint + class problem  RSS feed

 
Mietek Wojtek
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi everyone,
I'm a newbie on your ranch, but hope at least you can help me.

Got problem with my programme (I'm using jcreator pro4.5) that should be a game but it still don't work.
That's the top of it:

import java.applet.*;
import java.awt.*;
import java.net.*;
import java.applet.Applet;
public class tetshit extends Applet implements Runnable
{
public Graphics g;

Here comes what Build says:

Note: C:\uczymy\tetshit.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

and the General:

Error: Main method not found in class tetshit, please define the main method as:
public static void main(String[] args)


However I'm quite sure about what I made more down in code I still have no idea what to do, because putting that standard main is blowing up whole programme and can't manage to repair it later and have no idea what to do about that xlint.

Let me know if you need whole code (a bit long lecture).
Thanks in advance,
Mietek.
 
Tim Cooke
Marshal
Posts: 4041
239
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Report post to moderator
Didn't you ask the exact same question earlier?

Probably best you follow up in that thread.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!