Chat client help plz..
i am about to construct a chat client.. i havnt done any java networking so far, i was hoping that someone could point me in the right direction such as the right tutorial, and tell me where to start, thanx heaps..
Writing Chat with Networking would take more time compared with writing with RMI. In RMI, its relatively simple. You don't have to bother about sockets.
If you search well, you can find the code also for this, because Chat is a common program done all over.
I am giving you some links, for more , you can search in net with "Chat Server code RMI".
http://www.cs.umd.edu/class/fall2001/cmsc433/Projects/p4/p4.html
http://www.eos.dk/pipermail/advanced-swing/2001-March/000280.html
http://www.cse.lehigh.edu/~dama/javadist2.pdf
www.cs.sfu.ca/~hafshar/personal/ documents/cmpt760-report.doc
You may find more in net.
Rajesh
Similar Messages
-
I am writing a chat client in java and I was wondering how to change the color of the text for each person. What I mean is is it possible to have the text from one user display red and the text from another user display blue. Any help would be nice.
Is there a way to format text with html using JEditorPane and/or JTextPane; Read the API. You will find links to the tutorials.
-
Help needed , e63 chat client!
when i am trying to access chat client(gtalk) , it displaying error as a 'a nokia messaging is required to activate the services you have chosen.
http://askct.blogspot.comFrom your question it looks like you don't want to use NM. Get Fring from Ovi store or their website on the E63, it supports G-talk.
http://www.fring.com/download/
‡Thank you for hitting the Blue/Green Star button‡
N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009 -
Multiple chat clients with Webcam support
Hi;
I switched to the mac and i was wondering if anyone knows a program that will let me connect to Yahoo, MSN, and AOL at the same time and use multiple accounts. I also want webcam support. Currently i use different programs and i would like to be able to chat from one program instead of 3. SO far i have found aMSN, but only works for msn and not the other chat clients. Anyone can help?
ThanksI use Fire
It handles like 6 different IM clients.... not sure about the video capabilities, but i use iChat on an AIM client for that.
Beavis2084 -
Hi again. I'm thring to implement a simple chat client into my game and I need some help coding it, because it's way over my head. lol thanks
Well, you have left your question very vague, and people tend to get irritated by it. First of all, you need to really specify what you need. If you have nothing and need everything....you need to start by thinking about what methods will be used to send the messages...the GUI should be the last part. Do you need a server, plan on using a public server, or in a LAN environment. If you need a server, what type? Do you plan on writing your own?
For example, if you wanted to use an IRC server as your server, you could use PircBot as your backend for the communication and then integrate that into a GUI. If you wanted AOL, there are packages out there you can use.
If you have things thought out, you need to tell us what you are really asking and what you aready have. Otherwise, you have a lot of things to think about. -
I am trying to build a chat client, within an Applet, communicating with a Java server. I have written the server code, and built all communications (prototyped as a command line tool first, and its all working).
My only problem now is getting the messages displayed correctly in the chat client.
I have two problems I am trying to solve
1) I want the username in a different color to the message
2) I want the message to wrap, if it goes over a single line
I have been at this for most of the day, trying different techniques, but the text either does not display at all, or I can only get one of the two problems solved, and not both together.
I have tried lost of tips already, from previous posts, but not sure if I am doing something wrong, or if it is the applet causing the problem.
All help would be greatly appreciated.
Thanks
WayneMy only problem now is getting the messages displayed correctly in the chat client.Start simple. Are you able to display both the user name and the chat text in the client, regardless of color and wrapping?
I have two problems I am trying to solve
1) I want the username in a different color to the messageIs using HTML an option? Most (all?) Swing components support text with HTML markup for e.g., colors, style,...
2) I want the message to wrap, if it goes over a single lineMost (all?) JTextComponent subclasses support line wrapping. Well, OK, not JTextField descendants.
I have been at this for most of the day, trying different techniques, but the text either does not display at all, or I can only get one of the two problems solved, and not both together.
I have tried lost of tips already, from previous posts,Which tips? What did you try? What didn't work?
I'm not nit-picking, but there are several ways we could suggest (e.g. JEditorPane), but why spend time describing them if you already have tried them... Have you read [how to use Editor Pane|http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html] (non-editable version) from the Java tutorial?
Note than a simpler solution could be to display the user name in a JLabel with some color, and the chat text in a JTextPane or in an uneditable JTExtArea, with line-wrapping enabled, in another color. Not sure if that fulfills your requirements in terms of display.
but not sure if I am doing something wrong, or if it is the applet causing the problem.Probably not "the applet". But for the sake of simplicity, have you tried running the chat client as a standalone Java app? -
Wireless Signal Drops Every Few Minutes; Impossible to Load/Use Chat Client
Hi,
I have an iBook G4 laptop with an Airport Card installed under the keyboard (I guess it's Express? Not sure). At home, my roomates have a Windoze PC desktop using Verizon DSL connected with a Westell Modem and a Linksys Router for wireless access. This connection seems stable and is always on, as their AIM client is always running and shows no connection disruption. She also has an IBM laptop, which connects wirelessly through a Linksys card, and while I'm not sure whether she has any connection disruption or not, I don't think so or else I probably would have been asked to take a look at it by now Although, it isn't "always on" like the desktop, so I'm not sure.
I am accessing her DSL connection wirelessly, as I've mentioned, through my iBook. When I am browsing the Web however, I sometimes try to link to a page just when the connection is resetting, so I receive the "page cannot be displayed because you are not connected to the internet" warning. If I immediately refresh the page, it usually loads right away. Sometimes I have to reload 2-3 times, but it always works without having to tweak any configurations in Network at all.
This is a little aggravating, but liveable. Except for the fact that I am unable to run a chat client at all, since the signal drops intermittently and the client has to constantly resign on, and holding a chat conversation with constant disconnects would be impossible.
If I had to guess, I'd say the connection resets itself at least every 15 mins or so, maybe more.
I'm wondering if anyone else has any problem of this sort? Do I need to tweak some sort of settings? Any help would be appreciated.
Thank you!I am having a similar problem. I am using a Powerbook G4, with three airport expresses (one per floor on the house). Often, I get a messages saying that I am not connected to the internet and sometimes if I wait it will reconnect and sometimes it doesn't. When it doesn't, I check the settings on the Airport Express (AE). It seems that the password to get me on the network had duplicated itself so it's now 26 characters long instead of 13. I have two other computers on the network, a PC on Windows XP and a new iMac (when I say new, I mean two weeks old, already out of date PowerPC). ANYWAY, they work fine. I am thinking that they other computers are using signal from the two remaining AEs that are working closest to the base/internet connection.
I put a call into Apple three times and we basically just keep throwing out my system configuration files in my user, and then starting from scratch. So far that has not helped the problem.
I think the most important thing to note is that I have upgraded all three of my AEs to v6.3 and this is when the trouble started.
Has anyone any solutions?
Also, what happened to the spell check feature that used to be here for posting messages? -
Hi everybody, I am a newbie with P2P, so bear with me if I ask dumb. I have been doing some research but P2P part is still not clear to me. I want to implement a chat client that works as P2P (text chat) in Java and my own protocol. As I understand Jxta defines a set of protocols that developers can use to build p2p application , but I have to create and use my own protocol for exchanging chat messages. Am I required to implement all six of Jxta protocols? Is there any open source P2P chat client and protocol? Any pointers on how to do this would be very helpful.
JXTA is mainly for discovery and session setup as well as mapping.
As you want to create your own communications protocol, it would b best for you to start from scratch, and not use another API.
You can create a client application that contains a server and a socket.
The socket allows you to connect to the remote user, while the server allows you to accept connections from other users. Anytime the two clients are running and attempt to connect to either one, they can setup a session.
How your client will send/receieve messages is up to you - that would be your protocol. -
I came accross a new tutorial for a Flash Chat Client. It
uses Flash, PHP, MySQL. I found it to be most informative and
thought there may be others that would be interested. It uses the
Datagrid and Text Area components and communicates to the MySQL
database. Oh the Tutorial i'm refering to is at the bottom of the
page of the following link.
Click
here to see the tutorialSet the text field options to selectable.
Dan (Mode) Smith
--> Adobe Community Expert
*Flash Helps*
http://www.smithmediafusion.com/blog/?cat=11
*THE online Radio*
http://www.tornadostream.com
<--check this
***Stop Piracy
http://www.adobe.com/aboutadobe/antipiracy/***
"linedrivehitter" <[email protected]> wrote
in message
news:f9cl1e$oba$[email protected]..
> we are building a flash chat client and i am wondering
if there is a way
> to allow actual text to be rendered in the chat window
so it can be copied
> and pasted? -
Connecting problems to chat client (iChat, Adium, Aim)
My sister and I each have an apple computer, I have an iBook G4 and she just bought a new macbook. I have been having problems with my laptop connecting to ichat, adium, or aim. With each service I receive an error stating in someway that a connection cannot be made. I thought that maybe I could solve this problem when I set up my sister's new computer, however she has the same problems. iChat just pretends to connect for hours and never does, Adium says, "cannot connect to authentication server, socket disconnected" and Aim always says something to the extent of can't connect.
I know now that this is not a computer problem necessary because both computers are experiencing the same problems. I can use AIM fine on my PC at home and I used to be able to do it on my mac too. Any ideas as to how I can connect to the chat clients? THANKS!Hi Tony,
I hope you're reading this...I can't do audiochat anymore. Whenever I try and invite someone or an invitation is sent to me it doesn't connect. I can instant message and chat regularly, but the audiochat won't work. I tried the 443 port and it still didn't work. When I changed the port, it wouldn't connect to AIM at all, so I had to change it to the default settings. Please help!!!
Aneka -
TCP or UDP for chat client?
Which is the best method of creating a chat client?
Should I use TCP or UDP
UDP seems like the best way to broadcast but TCP is more reliable.
Any advice would be greatly appreciated
Cheers
RobWell, for just a chat client, you don't need either - because there is no communication. But I'll take it that you want to implement client/server communications - a chat application.
The answer is: it depends on how much work you want to do.
o UDP is very low level. You can send and receive datagrams, and the rest is up to you. Example: Do you care if messges get lost? Do you care about really long messages? If you use UDP, then you will have to implement those things you care about yourself.
(Haven't really thought qbout multicast for a chat system. Might work, and then UDP is your only option.)
o TCP lets you send and receive messages point-to-point; no messages will ever be lost, and you can send large blocks of data.
However for both UDP and TCP, you have to invent most of the application-level protocol your self.
o Another option that a lot of people choose is RMI. This allows you to concentrate on application design, and not worry - theory anyhow - about much communications design. (Reality is somewhat otherwise, because RMI is very fussy to get set up to work properly.)
Hope this helps. -
Setting up BCM 7.0.6.100 Internet Chat Client
Hi, everyone!
I've been struggling with a weird error message when setting up the proof-of-concept chat client for BCM 7.0.6.100
What I did is set up a fresh system from scratch and configure it just enough to conduct tests. After that I installed the chat client onto the same machine.
Now the problem is that whenever I rty to initiate a new chat I get the following error message:
13Chat Server not availablefalse
System.Web.Services.Protocols.SoapException: com.sap.bcb.common.SoapException
at ChatPortal.IciContainerService.subscribe(String appUrl, String appId, String channelType, String containerId) in d:\bcm_70_sp6_p1_source\bcm_7\source\source\ExtAppIntegration\WebServices\ChatPortal\IciContainerService.asmx.cs:line 99
This is a copy-paste from the exact message. Chat server actually is available and I'm pretty much out of ideas what to try to fix.
Has anyone any ideas on what to try next to get the chat working or better yet does anybody know the exact solution?
Thanks in advance,
JaanusJaanus,
can you reach this page?
If "Yes", and after clicking "Submit" you get an error message, check contact filed, e-mail ([email protected] on the screenshot) address must be the same as you assigned to a chat queue.
BR,
Anton. -
Im new to the 5g ipod help plz
will the ipod turn off if i leave it on pause? i know i have a really stupid question but help plz thx
Yes.
-
My Apple TV is not working. On tv display, I'm getting a message 'unsupported signal. Check your device output. ' Can anyone help plz.
connect it to a tv which support full hd and go into the settings and lower the resolution as much as possible and then connect it with your tv once more
-
I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u
Try
https://iforgot.apple.com
Maybe you are looking for
-
I have the iPhone 5 and have with 6.0.1 software version. Although I had them when I moved from iPhone 4 to the 5 (could play them), the latest update has most of my songs on the phone listed in grey (over 95% of them) and I can't play them. They a
-
I am taking a web design class and my instructor wishes us all to use the same browser. She has provided a link in her syllabus and it does go to the download site for Firefox. However, as I am running the download my computer pops up with "there is
-
originally posted in the Safari forum, and someone suggested i post here also: I'm almost at my wits end here. first off here is the site I need to connect to: www.eyemedvisioncare.com not only this address but all pages connected to this URL do not
-
WRT54G - Is there anyway to add a separate VPN/Firewall device to complement this product
I have a WRT54G v.2 device and I hate to throw it out. My dilemma is that I'm in need of a VPN/Firewall device as well. So I would like to know if there is a device that I can purchase from Linksys that will provide the VPN/Firewall features as a c
-
Log of print out of dunning runs?
Hi All, Can someone please let me know in which table I can find a log of the "print out of dunning runs"? I have made a test in T. code F150. I selected a printer and did a dunning run in Belgium for a Danish customer. The status is: Select and prin