>how can i put the swing classes in my project without making an 5MB applet

There are no solution to this problem because this question translates into
:

"How can I put the swing classes in my project without putting the swing
classes in my project."

This just points out that you are not asking the right question. The right
question is probably :

"How can I use Swing fonctionnality in my project without using Swing."

There might be an answer, depending on wich Swing functionnality you need to
use. Designing your own graphic controls is quite easy. It's time consumming
at first, but if you take care of using reusable desing, it can be really
rewarding.

The main problem, in my opinion, is that you will have to deal with Java 1.0
compatible browsers. My solution was to reimplement the Java 1.1 listener
model in Java 1.0. If you forget the 10% fonctionnality that make 90% of the
work, it is not very complicated. You can even forget multicasting events if
you don't need it.

If you want to see some components of this kind, you can look at
www.volga.fr/streaming or http://www.volga.fr/beta/Codexpert.html.

I have described all this stuff in my book "Le developpeur Java 2, Mise en
oeuvre et solutions - les applets". Unfortunately, it is written in french.
But if you read french, I can put a pdf version of the book for you on my
site (7.5 Mb).

Pierre-Yves

-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
Frauke Nonnenmacher
Envoyé : vendredi 30 mars 2001 10:22
À : [EMAIL PROTECTED]
Objet : Re: How to include some libraries


> Hi all! I'm working on a servlet-Applet Chat and i want the Applet to
> run the gui under swing.. , the problem? Netscape and Explorer does
> not come with swing support. The question-> how can i put the swing
> classes in my project without making an 5MB applet???

Good question. I've actually given up on using Swing in applets for exactly
that reason, but if there's a solution I'd be eager to hear it...

Frauke

Frauke Nonnemacher
Fat Cat Cartoons
http://www.fatcatoons.com
The statements and opinions expressed here are my own and do
notnecessarily represent those of the VEGA Group.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to