Marek Gmyrek wrote:
>
> On Fri, 21 Jan 2000, Chris Kakris wrote:
>
> -->> Processor utilization is not so bad, until I move a window and a window
> -->> in background has to repaint itself. Repainting takes a time of ca. a few
> -->> seconds. During that time the processor is busy almost to 100%.
> -->
> -->Are you by any chance using enlightenment? Have set some fancy window
> -->options, like move methods, window sliding effects, etc. Have you tried
> -->the "reduce refresh" option?
>
> By 'background' I meant a Java Frame (Window). So, eg. I have the main
> frame of my aplication an a dialog box. Moving dialog makes the main
> frame repaint itself. This takes particularly much time. Generally, the
> same Java application (both AWT and Swing) performs very poorly under
> JDK1.2 RC3. With jdk1.1.x performance is very good.
Right. The JDK1.2 Graphics2D performance has lots of problems, one of
them being excessive numbers of repaints... especially when you drag
windows. At the risk of sounding like a plug, chapter 59 of "Java
Programming on Linux" has a project that addresses that problem with a
couple of techniques - backing store and event coalescence.
The CD-ROM for the book is now online; you can view the contents at
http://www.javalinux.net/JavaLinux/CDROM/ - look for the "BackingStore"
project. You won't get the descriptive verbiage that appears in the
book, but you'll find sources, binaries, and brief instructions on how
to run the project examples.
Nathan Meyers
[EMAIL PROTECTED]
>
> So the problem should not have anything to do with my window system (KDE).
>
> Marek.
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]