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: I building a Chat Program with NetBeans, need to know some few ideas

  1. #1
    Member
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    83
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default I building a Chat Program with NetBeans, need to know some few ideas

    Can anyone tell me where the main conversation will be taking place?

    This is part of the codes
    import javax.swing.JFrame;
    import java.awt.*;

    public ChatJava() {
    JFrame frame= new JFrame(); //this constructor constructs an instance of a class each time
    frame.addJFrame(TextAreaName name); // a new chat is sent
    .....

    }
    public static void main(String[] args) { //one main method. 599 lines to this chat program from NetBeans Java

    if(txtAreaName=true) { //txtAreaName is referring to a actionPerformed in jButton#
    } system.out.println("txtAreaName"); { // does this look like the right setup?

    system.exit(0);
    }

    try {
    system.out.println("txtAreaName");
    } catch(java.IOException); {
    system.exit(0);
    }


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,520
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: I building a Chat Program with NetBeans, need to know some few ideas

    Please use code tags to post your code rather than quote tags. If you haven't already, please read this topic to learn how to post code correctly and other useful tips for newcomers.

    What do you mean "where?"

Similar Threads

  1. Building a triangle using strings and loops...program trouble.
    By orbin in forum Loops & Control Statements
    Replies: 2
    Last Post: June 13th, 2012, 03:29 PM
  2. Chat Program over internet
    By gurukarate in forum Java Networking
    Replies: 3
    Last Post: June 3rd, 2012, 12:23 PM
  3. Chat Program Help
    By WooZy in forum Java Networking
    Replies: 1
    Last Post: April 30th, 2012, 06:16 AM
  4. Any Program Ideas?
    By Java Programmer in forum Java Theory & Questions
    Replies: 7
    Last Post: January 18th, 2012, 08:05 AM