Results 1 to 2 of 2
  1. #1
    vinaytvijayan is offline Member
    Join Date
    Dec 2007
    Rep Power

    Default Iam new in Java Please explain to me

    import java.awt.*;import java.applet.*;
    import java.applet.*;
    public class LineRect extends Applet
    {public void init(){


    public void paint(Graphics g)


    CODE = LineRect.class
    WIDTH = 250
    HEIGHT = 200>
    Is init a must for Java Applets If so what should be the paarameters that i have to give How can I run this program Please help me...........

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    NewEngland, US
    Rep Power


    When you're new, there's nothing better than reading the directions, thus everything you need is here.

    Please don't double post. Please don't beg.
    Please do use proper English. please do use code tags.

    Follow these simple rules, among the many - and you just may be taken seriously.
    Last edited by CaptainMorgan; 12-30-2007 at 11:38 AM.

Similar Threads

  1. Need Help Can anyone explain what this means
    By Clemenza1983 in forum New To Java
    Replies: 6
    Last Post: 02-16-2008, 03:13 AM
  2. Can anyone briefy explain what does that mean?
    By Clemenza1983 in forum New To Java
    Replies: 6
    Last Post: 01-29-2008, 07:05 AM
  3. May someone explain what these things means in Java
    By quickfingers in forum New To Java
    Replies: 2
    Last Post: 01-26-2008, 05:45 AM
  4. need to explain this code
    By reached in forum New To Java
    Replies: 3
    Last Post: 12-03-2007, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts