Code Monkey home page Code Monkey logo

java-secure-lan-chat's Introduction

closed-kimono

Group project for Computer Science 3. Takes input and stores it encryptedly, in style.

java-secure-lan-chat's People

Contributors

lekro avatar legomaniack avatar rpbeltran avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

java-secure-lan-chat's Issues

Error handling

Errors, such as issues involving text parsing, either handle only on the server side, sometimes crashing the server without any visible response on the client side, or just ungracefully in general. We need to be able to properly catch errors where possible, and propagate an appropriate error message back to the client, or maybe some kinda log file for server errors.

ComboBox is screwy

Need to ensure that the displayed room is the current room, ATM it just displays one kinda at random upon updating the list.

Also, upon selecting a room, the GUI properly aligns itself. Fuck Swing.

LocalTime is freaky and hates me

I cannot get Java8 and therefore LocalTime to work. It's probably not a bad idea to find a Java7 alternative anyways.

For the time being, the client just sends "TIME" as the timestamp. :\

Long usernames break things

The usernames list handles horizontal scrolling properly, but the enclosing frame gains excessive spacing to where the rest f the name should be, as if it's rendering the name, but not showing it in the ScrollView

Message Length

If the message length exceeds the size of the box, it just kinda breaks everything.

The current system is basically set up to handle that, but it needs two things.

  • A function to tell how many characters can fit in the TextArea
  • A function to break a string into n or less length substrings.

BackEnd error handeling

Instantiating BackEnd should not open a connection, that functionality should be a callable method in order to handle errors. Method should probably throw errors in order to be handled by FrontEnd.

Client never actually gets the input

The messages are echoed, but there isn't any method to receive the input stream. There's a method to handle input, but there's nothing connecting that to the Input/OutputStream. Not to mention the server is just not actually handling messages properly to begin with.

Threads are weird

Someone who understands threading is going to have to help me with the command line stuff; without swing handling events for me, it has quickly gotten over my head. Big issue is that the CLI version of the server just kinda exits immiediatly after outputting text, unless I add a while(true), which is bad.

Message handleing

The server should probably send messages back to the client in the form of "messages since x time" rather than "here's all the messages". Would stop excessive data, and allow for non synchronized client things, line local console message type stuff. Just a thought.

Add support for Asian characters

For the future, so we don't forget...

We should add support for Asian characters (UTF-8) so people can talk in non-European languages.
Currently, these characters are converted into ? marks... e.g.

こんにちは becomes ?????

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.