🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #15

Re: Q: Why Swing applets are so slow on Solaris

#15
From: Richard Wilkman
Date: Fri, 21 Aug 1998 00:00
187 lines
7382 bytes
Yan:

Your best bet is to use the online docs for the library stuff. 
Libraries are part of the project, so do File | Project Properties and
then use the Libraries button on the dialog to take you the rest of
the way.

-Rich

yan zhou wrote:
> 
> Well, I did not have luck with JFC 1.1beta.
> 
> I replaced swingall.jar with the new one from JFC 1.1.
> 
> I got a few warning messages, that is fine. But, when
> the applet starts, it first gives a warning:
> 
> Swing: checked access to system event queue.
> 
> Then, the applet throws a NullPointerException when
> it executes Init() --> GridControl Init().
> 
> If I apply the old version of swingall.jar, everything
> is fine.
> 
> Anyway, could you tell me how to make JFC classes a library ?
> I have no clue of doing it. That might help.
> 
> Thanks.
> 
>                                 Yan
> 
> Richard Wilkman wrote:
> >
> > Yan:
> >
> > When you get a new JFC drop you can make a library for it and drag
> > that libray to the top of the list.  Creating the library will make
> > the dependencies.
> >
> > If you don't do it via a library you'll get some compiler warnings
> > about assuming that the package is stable -- no big deal there.
> >
> > -Rich
> >
> > yan zhou wrote:
> > >
> > > Thanks.
> > >
> > >  So, should I replace the swingall.jar in \lib with the new one
> > > or just leave it there regardless of JFC version ?
> > >
> > >  If I need to replace it, how should I handle these dependency
> > > files maintained by Inprise ?
> > >
> > >  Thanks.
> > >                         Yan
> > >
> > > Richard Wilkman wrote:
> > > >
> > > > Yan:
> > > >
> > > > The one in \lib is the same as the one in \redist *except* that we
> > > > added the dependency files to it to help the compiler.  \redist is the
> > > > directory which contains the stuff you are allowed to deploy when you
> > > > want to use the whole jar, etc.
> > > >
> > > > BTW, it's really a good education to just open up JAR files and look
> > > > at them.  I use WinZip for it, myself.
> > > >
> > > > -Rich
> > > >
> > > > yan zhou wrote:
> > > > >
> > > > > I checked comp.lang.* and did a search via dejanews.com.
> > > > > There are a few threads complaining
> > > > > about the slowness, but I did not see any suggestions or
> > > > > solutions.
> > > > >
> > > > >   Personally speaking, I would attribute this to the architecture
> > > > > of Sun system and the JVM of browsers on Unix.
> > > > >
> > > > >  As a trial, I downloaded JFC 1.03. I noticed there is swingall.jar
> > > > > under JBuilder/lib which is about 5M, and in JBuilder/redist
> > > > > the swingall.jar is only 1.8M. What is the difference between
> > > > > these two files ? I think JB is using the former.
> > > > >
> > > > >   Should I replace all original swing*.jar with the ones
> > > > > come from JFC 1.03, so that JBuilder adopts JFC 1.03 ?
> > > > >
> > > > >   Thanks.
> > > > >
> > > > >                         Yan
> > > > >
> > > > > Richard Wilkman wrote:
> > > > > >
> > > > > > Yan:
> > > > > >
> > > > > > There were some threads on this in the regular comp.lang groups.  Some
> > > > > > saw much improvement by moving to JFC 1.02 or 1.03.  Of course, they
> > > > > > also saw the new bugs in those releases and had to choose.  Some
> > > > > > threads indicated that doublebuffering seemed to make things worse.
> > > > > >
> > > > > > -Rich
> > > > > >
> > > > > > yan zhou wrote:
> > > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > >     Did anybody experience very slow response
> > > > > > > for Swing applets on Solaris boxes ?
> > > > > > >
> > > > > > >     Mine is OK on windows, but so slow on
> > > > > > > Solaris. Each time I hit keyboard,
> > > > > > > I have to wait for two seconds for characters
> > > > > > > showing up in JTextField or JTextArea. Besides
> > > > > > > that, the overall response is slow on Solaris,
> > > > > > > too.
> > > > > > >
> > > > > > >     Is there any work around or explanation
> > > > > > > regarding this ?
> > > > > > >
> > > > > > >     Thanks in advance.
> > > > > > >
> > > > > > >                                 Yan Zhou
> > > > > > >                                 yzhou@mtu.edu
> > > > > >
> > > > > > --
> > > > > >
> > > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > > > > Rich Wilkman
> > > > > > Senior Quality Assurance Engineer
> > > > > > Borland JBuilder Team
> > > > > >
> > > > > > If you see something that looks like an opinion up there,
> > > > > > it's mine and mine alone.
> > > > > >
> > > > > > Mail sent to me from the newsgroups won't bounce but will
> > > > > > be ignored.  If I have time, I'll respond, but you  have
> > > > > > a better chance if you confine your posts to the newsgroups
> > > > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > >
> > > > --
> > > >
> > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > > > Rich Wilkman
> > > > Senior Quality Assurance Engineer
> > > > Borland JBuilder Team
> > > >
> > > > If you see something that looks like an opinion up there,
> > > > it's mine and mine alone.
> > > >
> > > > Mail sent to me from the newsgroups won't bounce but will
> > > > be ignored.  If I have time, I'll respond, but you  have
> > > > a better chance if you confine your posts to the newsgroups
> > > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> > --
> >
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> > Rich Wilkman
> > Senior Quality Assurance Engineer
> > Borland JBuilder Team
> >
> > If you see something that looks like an opinion up there,
> > it's mine and mine alone.
> >
> > Mail sent to me from the newsgroups won't bounce but will
> > be ignored.  If I have time, I'll respond, but you  have
> > a better chance if you confine your posts to the newsgroups
> > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <35DDEB57.B8684170@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35DC1E0D.B6DDCBCB@mtu.edu> <35DC39CC.4328B5C7@inprise.com> <35DC5CC9.E4F7FCED@mtu.edu> <35DC9F9D.B6B72CE0@inprise.com> <35DD7E01.E8BEAA8@mtu.edu> <35DD8BFD.DEB54463@inprise.com> <35DDBF92.24EDD390@mtu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,951a01c86c3bafa7
X-Google-Attributes: gid111d45,public
X-Google-Thread: ff01d,951a01c86c3bafa7
X-Google-Attributes: gidff01d,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: Q: Why Swing applets are so slow on Solaris
Date: 1998/08/21
Message-ID: <35DDEB57.B8684170@inprise.com>
X-Deja-AN: 383468984
Content-Transfer-Encoding: 7bit
References: <35DC1E0D.B6DDCBCB@mtu.edu> <35DC39CC.4328B5C7@inprise.com> <35DC5CC9.E4F7FCED@mtu.edu> <35DC9F9D.B6B72CE0@inprise.com> <35DD7E01.E8BEAA8@mtu.edu> <35DD8BFD.DEB54463@inprise.com> <35DDBF92.24EDD390@mtu.edu>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing,borland.public.jbuilder.applet-issues