Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Interface of Chat  (Read 1072 times)
0 Members and 1 Guest are viewing this topic.
Offline Serethos

Junior Member




Java games rock!


« Posted 2004-04-23 18:13:50 »

sorry, this is a little off-topic, but i dunno where to post instead:

i have to write a little chat system. ive already done  this some time before as a server/client tcp/ip model but it got a horrible user interface.
now i have the target to make a more intuitive interface and im searching for some suggestions.
in my old chat i had the good ole' style:
a big textarea in the middle for output, on the right some pull-downs for choosing font, color etc, on the left a list of all clients, a text field for input and some window-menus.

the main change shall be on the client-list. i want some graphical addons (e.g. avatar, not only text, all clickable for more details in a frame, banning etc). but how to display the clients ? in a list could be somehow bad to use.  perhaps a system of internal windows, one for clients, one  for chat ?!?

how would you like to use such a chat ? any additional things ?
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2004-04-23 18:50:11 »

Top suggestion: don't.

Find an IRC client lib written in java, make a "pluggable chat" interface, write a wrapper for the IRC client lib, and go with it. If/as/when people want other chat systems, go find other 3rd party chat systems in java, and just adapt them via the interface.

I say this because making a GOOD non-trivial chat system is a lot of hard work, and it's been done so many times before that it's liable to be a lot easier to just keep trying other people's solutions (especially where they use some of the tends of standard comms-protocols, like AIM, IRC, Jabber, etc; this is a commoditized area: so don't bother rolling your own (now that you're going beyond the simple no-frills version))

malloc will be first against the wall when the revolution comes...
Offline Serethos

Junior Member




Java games rock!


« Reply #2 - Posted 2004-04-23 20:42:10 »

ohhh, i think heres a misunderstanding: i dont want to create a commercial or official chat system. im not that good and i dont have the time.
its only a bigger homework, but i want to realize a little more than the core aspects of a text sender/receiver.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2004-04-23 22:13:46 »

Quote
ohhh, i think heres a misunderstanding: i dont want to create a commercial or official chat system. im not that good and i dont have the time.
its only a bigger homework, but i want to realize a little more than the core aspects of a text sender/receiver.


Nope, that's exactly what I was thinking of; my point is that this is something that
- has been done many many times
- is available for free in lots of guises
- has been thought about and experimented with by many others

so that you should just be able to go and grab a free 3rd part lib; I would be surprised if there aren't many tens of "JChat extends JPanel" (sic) implementations that you just .add(...) to your swing GUI. Or AWT versions.

I'm suggesting that you setup a simple facade and then play with different ones rather than doing the work yourself and/or being limited to what UI you think up Smiley. Whatever ever UI's are common and popular are more likely to be represented in such 3rd party libs. Although you miight find all the best ones have the GPL and you may not be able to use GPL Sad.

malloc will be first against the wall when the revolution comes...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (11 views)
2014-07-30 21:08:39

Riven (21 views)
2014-07-29 18:09:19

Riven (14 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (32 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (29 views)
2014-07-23 21:07:15

Riven (30 views)
2014-07-23 20:56:16
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!