Comment

elias
help,
December 23, 2007 at 11:45 PM

how can i run... the chat....
the following errors occur....
On Login.java...

_____________________________________________
java.lang.Error: Do not use javax.swing.JFrame.add() use javax.swing.JFrame.getContentPane().add() instead
at javax.swing.JFrame.createRootPaneException(JFrame.java:406)
at javax.swing.JFrame.addImpl(JFrame.java:432)
at java.awt.Container.add(Container.java:228)
at Login.<init>(Login.java:48)
at Login.main(Login.java:30)
___________________________________________


The MyServer.java file is run correctly...

________________________________________________
On MyClient.java

_____________________________________________

java.lang.NoSuchMethodError: main
Exception in thread "main"
Process completed.

_______________________________________________

Thank you.........

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Mobile Applications Questions

Is there a limitation on the number of files in an iphone app?
Is there a limitation on the number of files in an iphone app?  hello all Is there a limitation on the number of files in an iphone app? My app... there are some limitation for files size Apps store larger than 20MB in size 

Design concepts & design patterns Questions

PHP Based Chatserver - Design concepts & design patterns
PHP Based Chatserver  Hey i want to create a Chat server like this one : www.scn-chat.com could someone plz tell me were can i get a chatserver 

General

Features
Features       There are different kinds of blogs as discussed earlier. These blogs differ.... For any hassles click the help button from any screen. Access Controls Using 

Java Beginners

Features
Features  Give me java1.6 features with examples?   Please visit the following links: Java 1.6 features Some Examples of Java 1.6 

Programming Tutorials

Features of EJB 3.0
Features of EJB 3.0       Now its time to look over the new features of EJB 3.0 that provides some... and communicate it with the help of javax.ejb.EJBException to the corresponding 

OpenSourceSoftware

Features of shopping cart
Export and import of products and orders With the help of above features you can...Features of shopping cart In this section we will learn the features of good... web store. Features of a good shopping cart application A good shopping cart 

Struts 2 Tutorials

Shopping Cart Features
. There are many shopping cart that are overloaded with unnecessary features, so.... The basic features of shopping cart such as social bookmarking, discount voucher... better. With the help of this they can get an information about the product 

MySQL

New Features in JDBC 4.0
New Features in JDBC 4.0      ... the Results. Some of the new set of features which come along with Mustang... The three most important features of Driver and Connection Management in JDBC 

Spring 4 Tutorial

Features of Spring 4
Features of Spring Framework 4: New features and enhancements in the Spring Framework 4 In this article we are discussing about the new features... the latest JVM based innovations. Here are the new Features of Spring 4 Java 8 

Vehicle Tracking Technology

Features and Functions of GPS Vehicle Tracking System
Features and Functions of GPS Vehicle Tracking System  ... followed by the child or not. The devices with various facilities help to keep... that provides timely details of the vehicle. Some of the basic features are given 

EJB Tools

Features of EJB 3.0
Features of EJB 3.0       Now its time to look over the new features of EJB 3.0 that provides some... and communicate it with the help of javax.ejb.EJBException to the corresponding 

General Information

Features of Epic Browser for Windows
with latest features of Epic browser that to delight Indian users. Based on Mozilla... Bharadwaj. There is a long list of features of Epic browser for Windows. Just... and Travelocity, Epic gives a direct Widget for these websites which help you plan 

Struts-Tutorials

Struts 2.2.1 - An introduction to Struts 2.2.1 Features
Struts 2.2.1 - An introduction to Struts 2.2.1 Features The Struts 2.2.1... enterprise web application. Struts 2.2.1 is released with many new features... 2.2.1 framework. These files will also help you in learning the concepts 

Maven 2

Features of Maven 3
Maven 3.0 with improved features to make it more convenient for the users... choice for the users. Let us find out, the top 10 Features of Maven 3.0 that makes... many highly demanded features. Performance Improvement One of the most sought 

Java Beginners

Need Help - Java Beginners
projects in Java as well as J2EE... Can u help me and guide to do a project...://www.roseindia.net/shoppingcart/index.shtml http://www.roseindia.net/chatserver 

Programming Tutorials

Features of Java
Features of Java: Java is one of the most popular language in the field... programming is its large number of important and robust features. Java can be used... applications. Java has various important features: SIMPLE Java 

Hibernate-Tutorials

Hibernate Features
In this section we will see Hibernate features 

General

Learn the Java 8 and master the new features of JDK 8
JDK 8 - Java 8 Tutorial and examples: Learn JDK 8 with the help of examples and articles In this section we are discussing about the JDK 8 and you will find... and supposed to release in March, 2014. There are many new features such as  

Database-Tutorials

MongoDB: What is it and it's Features?
benefit including the lowest total cost of ownership, then the MongoDB can help... easier and faster in some certain types of application. Features of MongoDB... easy and smooth. There are various features, which consist in MongoDB, which 

Web Development

The Unique Features of E-Commerce
or at least priced very low. There are other features which even help businessmen...The Unique Features of E-Commerce Imagine making huge profits sitting right... it much. One of the basic features of e-commerce is the ubiquity. This means 

Software Services

What are the features of web designing
What are the features of web designing... while designing a site. Some of the prominent features of web designing... requirement in mind. The prerequisite designing help in content and web 

Java Interview Questions

help needed - Java Interview Questions
help needed  What are the new features added in jdk 1.5?  Hi friend, The following were the new features added in java 1.5.... * Autoboxing/unboxing ------------------------- This link will help you 

Java Beginners

help - Java Beginners
to eliminate language features that cause common programming errors. Java source code 

Java Beginners

help me to solve this question
help me to solve this question   A user needs to key in data into system in order to save data into array. The data are: a. Lecturer ID, Lecturer... that has been added into array with the following features: a. Edit the course 

jQuery

jQuery Features
jQuery Features       jQuery have lot of functionalities but some of the key features are given below : Selection of DOM elements : The jQuery selector provide us 

Programming Tutorials

open source help desk
Open Source Help Desk Open Source Help Desk Software As my help desk... of the major open source help desk software offerings. I?m not doing... source help desk applications out there. Not the ones where the site hasn?t been 

Programming Tutorials

Java Features
the platform must have the JVM.  Simple: There are various features that makes...; the existing code and adding the additional features as needed. Encapsulation... of the above features makes the java language robust. Secure: Java does not use 

Programming Tutorials

java features
have the JVM.  Simple: There are various features that makes the java... the additional features as needed. Encapsulation:  :  ... of the above features makes the java language robust. Secure: Java does not use 

Programming Tutorials

Java Features
.  Simple: There are various features that makes the java as a simple... the additional features as needed. Encapsulation:  :  ... features makes the java language robust. Secure: Java does not use memory pointers 

Programming Questions

Questions and Answers Help
Questions and Answers Help      ... features of the questions posting form You can ask questions in and provide... program. Providing the details description of the problem help the other 

Programming Questions

Questions and Answers Help
Questions and Answers Help      ... features of the questions posting form You can ask questions in and provide... program. Providing the details description of the problem help the other 

General

Java Bigdecimal class example
bigdecimal enhances the users limitation over rounding action on numbers... on applying rounding feature is increased. Others features like analyzing (comparison 

Programming Tutorials

JDBC features
JDBC features In this section we will see the features of JDBC. The Java Database Connectivity or JDBC for short is the API available in Java for accessing... the programmers to access data from Java program. Here is the features of JDBC JDBC 

Development process Questions

help
help   how i can send a pitcture on url in java 

Applet Questions

help
help  pls help me to get the code of a java program a program to perform different shapes in a menu using javaapplet 

Spring Framework Questions

What are the Features of Spring Framework?
What are the Features of Spring Framework?  Hi, What are the Features of Spring Framework? Thanks 

Java Beginners

help
help  i need help with this code. write a java code for a method named addSevenToKthElement that takes an integer array, and an integer k as its arguments and returns the kth element plus 7. any help would be greatly 

HTML Questions

HELP
HELP  I need this code to open in a new web browser. but no matter what i do it wont please help?? Directive 055 Storage Requirements for the Upstream Petroleum Industry 

Java Beginners

Help...
Help...  Write a class that displays your first name vertically down the screen ?? where each letter uses up to 5 rows by 5 columns of a character input by you with a blank line between each letter 

Java Beginners

Features of Java - Java Beginners
Features of Java  Hi, Tell me the features of Java. Thanks   Hi, Read features of java at http://www.roseindia.net/java/java-introduction/java-features.shtml Thanks 

Java Beginners

Help!
Help!  thanks for ur code, I'd like to ask a question: after press "c" or "C", timer starts and after every delay ms, it'll print "This line is printed only once." or just print once. I'm writting a timer but it seems to perform 

Management

Features of Strategic Management
Features of Strategic Management  What is the features and scope of the strategic management?   Key Features of strategic management The five main features of strategic management are: 1. Strategic analysis 2 

Spring Framework

Spring MVC framework Features
This section contains the unique features of Spring MVC web framework 

Mobile Applications Questions

Help
Help  Hi; Can anyone help me to solve this errors. I use J2ME(wirlesee Toolkit 2.5.2. for CLDC Project "SlideImageMIDlet" loaded Project settings saved Building "SlideImageMIDlet" C:\Documents and Settings\???? ?????\j2mewtk 

WebSevices Questions

help
to the user) please tell me how could i design that. Please help me asap Thanks a lot 

Spring Framework Questions

Whar are the features of Spring Framework
Whar are the features of Spring Framework   Whar are the features of Spring Framework   Hi, In Spring 3.0 there are some new features in Java. The Spring 3.0 framework having latest features such as it support 

Java Interview Questions

help
based on the percentage of cheating. please help me 

RMI Questions

very urgent : Iam unable to code this program plz help me - RMI
very urgent : Iam unable to code this program plz help me  Write a Multi-user chat server and client.  Hi friend, Chat server...://www.roseindia.net/chatserver/index.shtml Thanks 

JDBC Questions

help!!!!!!!!!!!!!!!!!!
help!!!!!!!!!!!!!!!!!!  import java.awt.; import java.sql.*; import javax.swing.*; import java.awt.event.* public class NewJFrame extends javax.swing.JFrame { JTextField1 

JSP Servlet Questions

Help
 

Java Beginners

Help
 

Java Beginners

help
 

JavaScript Questions

help
 

Java Beginners

help
 

Java Beginners

help
 

Java Beginners

help
 

Java Beginners

Help
 

Java Beginners

Help
 

JavaScript Questions

help
 

Java Beginners

help
 

Java Beginners

help
 

JSP Interview Questions

Main features of JSP technology
Main features of JSP technology  Main features of JSP technology ?    A language for developing JSP pages, which are text-based documents that describe how to process a request and construct a response. Constructs 

Spring Framework Questions

Spring 4 features
Spring 4 features  Can anyone tell me the spring 4 features? I wan't to learn the new features of Spring 4 framework quickly? Thanks   ... the article: Features of Spring 4. Thanks 

Hibernate Questions

New Features in Hibernate 4
New Features in Hibernate 4  What are the new features in hibernate 4, which is recently released and available for development and deployment of enterprise web applications.   Here are the list of new features 

PHP Questions

New features in PHP5?
New features in PHP5?   hello,, What are new features added in PHP5?   hii, Following are new features added in PHP5 Access Modifiers... 5 introduces the mysqli (MySQL Improved) extension with support for the features 

JPA

JPA Features
JPA Features       In this section we will discuss about the features of JPA (Java.... Here are the features of JPA: The Java Persistence API is now here 

Programming Tutorials

Spring 3.0 features
Spring 3.0 features Spring 3.0's stable version 3.0.2 was released on April 2, 2010 with many new features and enhancements. This release of Spring framework introduced more features in the annotation-based configuration, unified 

Programming Tutorials

Flex 4 Features
Flex 4 Features Flex released its new version Flex 4 with huge changes... Builder?. New version of flex emphasizes at features like: Enhanced and greatly improved user appearance by extending features of existing 

Java Beginners

java features - Java Beginners
 

Java Beginners

features - Java Beginners
 

Programming Tutorials

Features of Jsp 2
Features of Jsp 2.0 JSP 2.0 is released with new promises. JSP 2.0 is a upgrade version of JSP 1.2 with several new and interesting features. This version is fully compatible with JSP1.2. These features have been added to make the life 

Spring Framework Questions

What are the new features of Spring 4.1?
What are the new features of Spring 4.1?  Hi, I am trying to find the new features of Spring Framework 4.1. What are the new features of Spring 4.1? Thanks   Spring 4.1 is released with many major features 

Servlets

Servlet 3.0 Features
In this section, you will learn about new features added in the Servlet 3.0 

Java Beginners

What is most important features of Java
What is most important features of Java  Hi, What is the most important features of Java? Thanks   Hi, The latest version of Java 7 having some most important features like Java virtual Machine, Language updates 

JDBC

JDBC 4 Features, JDBC 4.0 Features
.style1 { margin-left: 40px; } JDBC 4 Features In this section we are discussing about the new features of JDBC 4.0. Jdbc 4.0 ships with Java SE 6 with a lot of new and improved features such as improved BLOB and CLOB support 

Java Server Faces

JSF Features
JSF Features     ... of standard features that makes it a powerful and standard among the existing.... Some of the features have been given below to justify the above statement 

Maven Questions

Please help me about maven2 plugin - Maven
Please help me about maven2 plugin  First, thanks you for your all... maven plugin. When i go to help/software update/ find and install/ search for new features to install. And then i click the new remote site, typing Maven2Plugin 

Software Services

J2ME Application Development Uses Many Features
J2ME Application Development Uses Many Features Java 2 Micro Edition..., that is used will help with many different functions that will work to make... with the same materials but can use different types of features for getting them 

JSP Tutorials

JSP 2.0 - New Features
Features of JSP 2.0      .... JSP 2.0 is an upgrade to JSP 1.2 with several new and interesting features. These features makes the life of web application developers and designers easier 

iPhone

iPhone's Missing Features
iPhone's Missing Features       iPhone is a great phone with amazing features and it is but natural that there would be some features that are omitted either knowingly 

MongoDB

New features of MongoDB 2.6
MongoDB 2.6 is released with many exciting features and Full text search... features are added to the database stack. MongoDB 2.6 is released with many server enhancements, many new automation tools and the many enterprise features 

General

Java 9 Features
Java 9 Features: First version of Java 9 Features announced The plan... features list of Java 9 on August 18, 2014. The first set of Java Enhancement... the development of JDK 9. Here is the details of the first set of Java 9 features: Here 

PHP Tutorial

PHP 5.4.23 Features
features and it can be embedded with the HTML in order to create more dynamic... Features HTTP authentication with PHP: Using the authentication feature.... This features of PHP makes a PHP web application more secure. Cookies: PHP also 

PHP Questions

What are the features and advantages of OBJECT ORIENTED PROGRAMMING?
What are the features and advantages of OBJECT ORIENTED PROGRAMMING?  What are the features and advantages of OBJECT ORIENTED PROGRAMMING 

Servlets

Features of Servlets 2.4
Features of Servlets 2.4       In this tutorial you will learn the new features added in Servlet 2.4.... type string.  New features has been added 

PHP Tutorial

New features in PHP 5.5
New features in PHP 5.5 - The latest version of PHP version 5.5 provides many news features for the development of application in PHP framework The PHP 5.5... and features. There are many new exiting features which is added to the PHP 5.5 

General

Java 5 Features
Java 5 Features       This section introduces you with the new features on Java 5. Here you... through this page you will better understand the features of Java 5.0. New Features 

Java Beginners

Regular Expression Help Help HELP!!!!
Regular Expression Help Help HELP!!!!  HI all I am very new to java... could help me to give a solution of how to retrieve the name and email add... the quotes ""07001", "MR Harish Ram","M.RHarish @ hotmail.com"" Help is greatly 

JDK 6 Tutorials

New Features of JAVA SE 6.
New Features of JAVA SE 6.       Following are the new features in SE 6... included in JAVA SE 6.    Networking features 

JEE Technologies

JPA 2.1 New Features
This section is explaining you the new features of JPA 2.1. The JPA 2.1 specification is coming with many new features and enhancements. The JPA 2.1 aims... specification is defined through the JSR-338. What are new features of JPA 2.1 

Hibernate Questions

What are the new features of Hibernate 4.3.0.final ORM?
What are the new features of Hibernate 4.3.0.final ORM?  Hi, Can anyone tell me What are the new features of Hibernate 4.3.0.final ORM? Thanks   Hi, The most important features is its support for JPA 2.1. Hibernate 

Java Interview Questions

Java 6 features - Java Interview Questions
Java 6 features  What are the advanced features added in Java 6 compared to Java 5 

Struts 2 Tutorials

Struts 2.1.8 Features
Struts 2.1.8 Features       In this section we will learn the new features and enhancements of Struts.... The stable release of Struts 2.1.8 contains many new features and many bug fixes 

J2EE-Tutorials

Key features in Java EE 6
In this section, we will take a brief look over key features in Java EE 6 

Hibernate Tutorial Example

Hibernate 4.3 ORM Features
Hibernate 4.3 ORM Features - Learn the new features of Hibernate 4.3 ORM... about the new features of Hibernate 4.3 ORM framework. The Hibernate 4.3 is released with many new exciting features for development of enterprise applications 

Technology

Basic Features of VOIP
of time, due to its advance and numerous features over the traditional phone lines. VoIP provides a number of best features that suits your requirements for your convenience. VoIP offers abundant features that are much enhanced, useful 

Java Interview Questions

JDK 1.5 Features Diff - Java Interview Questions
JDK 1.5 Features Diff   Hi Frieds , Can u explain me d difference bn Generics and Autoboxing in jdk 1.5.  Hi Generics?Provides compile-time type safety for collections 

Java Interview Questions

jdk 1.5 features - Java Interview Questions
jdk 1.5 features  jdk 1.5 features with examples and source code ,how to use the features  Hi friend, (1)Generics:Provides compile-time (static) type safety for collections and eliminates the need for most 

Spring Framework

New Features of Spring Framework 3.2
Spring Framework 3.2 released is with many new features and enhancements. Its final version of the of the Spring Framework 3.2. It recommended that the users... now supports new improved features of Java SE 7 

Spring 4 Tutorial

Spring Framework 4.1 GA is released with major features
of the Spring Framework with addition of many new major features and lots of improvements... available. Here in this article we will discuss the new features and improvements of the Spring Framework. Here are the new features of the Spring 4.1 

Advertisements Advertisements
 

 

 

DMCA.com