Chat room test, take two

Home Forums General Forums Site Feedback Chat room test, take two

This topic contains 9 replies, has 1 voice, and was last updated by Profile photo of Cometgreen Cometgreen 11 years, 10 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #9512
    Profile photo of Stefan
    Stefan
    Member

    Hello there!

    Thanks everyone for checking out the chat yesterday. The problem is, unsurprisingly, Micro$oft. They decided not to support new Java versions, and consequently the Java Virtual Machine (the part of your browser that runs Java applets) only supports version 1.1, whereas my applet used 1.4.

    There are 2 workarounds. One of them is easy for me, the other is easy for you. I would like to ask you to test them. Try solution 1 first, then proceed to solution 2. If possible, test both of them.

    Solution 1
    This solution uses the old Java compiler to produce code compatible with your browser. This might prove less stable, since it uses one of the first releases of Swing, which is used for the buttons and textfields and such. To test it, go to the following page:

    http://www.stack.nl/~stefanvz/phpBB2/bfchat/bfchat11.html

    Solution 2
    This solution uses a more complicated version of the HTML code. Basically, it tells the browser to look for the Java plug-in and download it if needed. This ensures that Sun’s Virtual Machine is used, rather than Microsoft’s. Downside: the download is several megabytes large, and consequently not friendly to modem users. To test it, go to the following page:

    http://www.stack.nl/~stefanvz/phpBB2/bfchat/bfchat.html

    To remind you, this is what the chat looks like on my system:

    http://www.stack.nl/~stefanvz/chatview.gif

    Yours still on the job,

    Stefan.

    #9515
    Profile photo of Antiggo
    Antiggo
    Member

    I tryed second solution, and it downloaded Java 1.4.1 and now the chat works! it was somewhere 10 mb… BTW the chat looks cool!

    #9517
    Profile photo of RevMen
    RevMen
    Member

    Solution 1 was the same as yesterday, just a big empty grey box with a message about a class that can’t be loaded as I pass my mouse over.

    Solution 2 had me download and install Java, and then I could see everything just fine.

    #9519
    Profile photo of Stefan
    Stefan
    Member

    Solution 1 is not a solution, as it still won’t work with the classical VM (correct me if I’m wrong).

    Here’s a working version of Solution 1:
    http://www.stack.nl/~stefanvz/phpBB2/bfchat/fchat11.html

    Drawbacks:
    * No support for internal HTML formatting, the reason to use Swing in the first place.
    * A 2 MB download every time you start the applet (unless it is cached or something). Contrast this with the one-time 10 MB download of the plug-in.

    Let me know what you think!

    Stefan.

    P.S. RevMen, could you please run ‘java -version’ on your server? The program on that side has less rigorous requirements (in fact, apart from the database stuff, it should run on 1.0), but I’d like to know what I’m up against.

    #9520
    Profile photo of Antiggo
    Antiggo
    Member

    funny, but the working version of solution 1 did not worked… Only the second one… Strange…

    #9521
    Profile photo of Bump500
    Bump500
    Member

    “Antiggo” wrote: funny, but the working version of solution 1 did not worked… Only the second one… Strange…

    I had to wait a little while before it loaded

    #9523
    Profile photo of mrgraff
    mrgraff
    Member

    I had to wait a little while before it loaded

    Same here (solution 2), but upon launching the second time, it started up immediately.

    #9548
    Profile photo of Yolegoman
    Yolegoman
    Member

    Well, crap, I had a message typed up here, but then the damn thing messed up, so I’ll just say that a ten meg dl sucks for modem users and I doubt anybody would do it.

    Yolegoman

    #9549
    Profile photo of Stefan
    Stefan
    Member

    “Yolegoman” wrote: Well, crap, I had a message typed up here, but then the damn thing messed up, so I’ll just say that a ten meg dl sucks for modem users and I doubt anybody would do it.

    Yolegoman

    I agree, but consider that it’s only once. After this download, you’ll be able to use the brickfilms chat forever! Or at least, until you re-install your computer. I’ll run a poll on this. You can download it even now, if you like: you won’t have to do it again when the chat is done.

    Stefan.

    #9555
    Profile photo of Cometgreen
    Cometgreen
    Member

    Well, I had installed the latest Java applet yesterday, so today both of those options work for me. It looks great!

    Cometgreen

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.