Archive > Desktop Applications :: General

Java Based Application

<< < (2/3) > >>

Doakurst:
I may have to give up on the java application. There are no fully functional CSS parsers in Java. And getting a web browser is turning into a huge hassle.

Though I could always create a platform independent application that would open the OS's default web browser and send it to a home page specified by the application....

Inspirer:
What do you think about implementing chat using java controls? Protocol is rather simple. Pure XML.
Another option is to create Eclipse RCP application using integrated (SWT) web browser.

simplyfat:
why don't do a pure java chat software? who needs html rendering for a chat? the main feature is
a) waiting for customers to enter
b) chatting...

i did something like that one year ago for a social networking plattform, where i could not get the raw data or do any db-queries. i had to fake http request and however it worked pretty well. but this one is pretty straight forward if you do implement only the basic features. i did my user interface with a slightly customized jxtaskpane/-container..


edit: ahh.. i just looked at your windows app (its russian by default?!). now i know what you want. thats pretty simple. you just make a watchdog which polls the db for incoming chats and when a new request comes in, the app could play sound, show a ballon text and open the default browser.
1. you can open a url in the default browser with java.awt.Desktop (since java 6). use the browse()-funktion for that.
2. for ballon texts and tray-icon use jdic (needs platform-dependent port of the library which is BAD). https://jdic.dev.java.net/
3. if you really want to embed a browser like internet explorer into your java app use jdic, too. there is support for simple html in jeditorpane, too. both would be more than BAD.
anyway, i would consider a real app which implements the basic functionality on its own way more interessting. if i had some time... ;-)

Inspirer:
I'm going to create Java API package to hide all interaction with the server (XML through http).

Using it we can do:
1) webim to Jabber transport (chat using your favorite jabber/gtalk client)
2) pure Java application to track and chat visitors, open browser only for history, statistics etc.
3) everyone can develop automated help :) (yeah, when I started the messenger everyone who came asked "Are you a bot?" :) )

Doakurst:

--- Quote from: Inspirer on May 19, 2009, 09:33:18 AM ---What do you think about implementing chat using java controls? Protocol is rather simple. Pure XML.
Another option is to create Eclipse RCP application using integrated (SWT) web browser.

--- End quote ---

I got the swt web broswer up. It is parsing css fine, for some reason it didn't before. I am having problems linking up the options pane for it. As for it not being a pure instant messenger... Well the description for the windows application was just a web browser wrapper program. Same with the Mac version. This allows to look at Canned Messages and Chat Histories if need be for the clients.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version