Re: I'm looking for a good web-based java chat applet



On Fri, 30 Sep 2005 13:01:53 +1000, "bort" <spam@xxxxxxxx> wrote or
quoted :

>I quite like this coolsmile one (www.coolsmile.net) but i don't like the way
>it defaults to blue text.. and when you select other colours (e.g. black)
>your text can't be seen if someone has a black background. We don't like to
>encourage ppl to use colour on our server, but don't want to strip it out
>altogether, server-side, either.
>
>If I knew anything about java it's open source adn I would be able to remove
>the colour options altogether i guess.

There are two sorts of colours in a Java Applet. The Applet did not
get very far so I don't even know for sure if it is AWT or Swing. I
suspect AWT.

Some are burned into the program. The choices have nothing to do with
the Java language. These are purely the colours the Applet author
liked. There are three ways you could change them:

1. get the program source from the author. Change the colour numbers.
See http://mindprod.com/jgloss/colour.html for the colour numbers --
same as HTML. Just look for new Color(...) or Color.xxxx

2. decompile the source, change the colour numbers, recompile.
See http://mindprod.com/jgloss/decompiler.html

3. patch the color numbers in the class file. This is quite bit
harder. See http://mindprod.com/jgloss/jasm.html

The other colours are the colours of the frames and widgets. These in
Swing are controlled by the Look and Feel. You can change that by
adding one line of code to the program to select a different
L&F/skin.. You must decompile/recompile to do that or get the source.
See http://mindprod.com/laf.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (NT-Bugtraq)
  • Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Bugtraq)
  • [Full-Disclosure] Technical information about the vulnerabilities fixed by MS-02-52
    ... The patch doesn't fix all of the vulnerabilities we reported, ... Java support in the Internet Zone even after applying the patch gives the ... possibility for a malicious Java Applet to gain control over the system. ... Our original report and information regarding the remaining Java ...
    (Full-Disclosure)
  • Re: Java Question
    ... if the anfy applet works for you then I don't know why the game ... I'm a little unclear about part of your instructions to go to my Java ... message that I need to download and install Macromedia Flash Player (which I ...
    (microsoft.public.windowsxp.general)
  • Technical information about unpatched MS Java vulnerabilities
    ... These are some technical details about the security vulnerabilities I've ... There were more than 10 vulnerabilities found in the Microsoft's Java ... cookies related to www.bank.com if the applet tag on www.bank.com ...
    (NT-Bugtraq)