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.

Results 1 to 2 of 2

Thread: tell me about the meaig of each line

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default tell me about the meaig of each line

    public class commninterface extends JFrame
    {
    public commninterface()
    {
    initUI();
    setTitle("-::Java Based Port Communication Apps :);
    setSize(700, 400);
    setResizable(false);
    setLocationRelativeTo(null); //Will center in middle of screen
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    }


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    18,667
    Thanks
    45
    Thanked 1,960 Times in 1,934 Posts

    Default Re: tell me about the meaig of each line

    A good place to get a description of what methods do is in the API doc:
    Java Platform SE 7

    If you know the class, find it in the lower left of the page, click on the link and it will display in the main frame.
    To look up methods, click on the "Index" link at the top of the page, click on the letter for the first letter in the method name and scan down to the method.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Re: Reading a file line by line using the Scanner class
    By rajaveluswamy in forum What's Wrong With My Code?
    Replies: 3
    Last Post: May 8th, 2013, 03:38 AM
  2. Replies: 10
    Last Post: September 16th, 2011, 07:49 PM
  3. Reading a file line by line using the Scanner class
    By JavaPF in forum File Input/Output Tutorials
    Replies: 0
    Last Post: April 17th, 2009, 07:34 AM
  4. Reading a file line by line using the Scanner class
    By JavaPF in forum Java Code Snippets and Tutorials
    Replies: 0
    Last Post: April 17th, 2009, 07:34 AM
  5. How to Read a file line by line using BufferedReader?
    By JavaPF in forum File Input/Output Tutorials
    Replies: 0
    Last Post: May 19th, 2008, 06:32 AM