Since I am using a bean to create thumbnails as a part of a web project teh
mx options is not applicable?
I thought memory allocation is auto in Java ...am I missing something ? I
could not find anywhere how to allocate memory in Java ??
Please help!
-Original Message-
From: Irving
Thanks for ur reply ..
I tried that ...i guess my question would be how to INCREASE the Total
Memory or free memory ...even after using the garbage collection method the
freee memory available is not sufficeint enough to do what my program
intends to do ..again remember i can't use the -mx option
Hello all,
I should have probably mentioned I am just using awt, no swing so the
paintImmediately() is not an option. I don't want to deal with the
1.2.2 pugin-in security issues that go with swing.
Direct calls to update don't seem to work either. Once again, if I
include a main() in my applet
I am trying to display video from a file.
My code is structured like...
while (true) {
getHeader()
doLotsOfMath();
frameNumber++;
update(getGraphics());
}
The update (which calls paint) doesn't paint until all the frames have been
decoded. This has the effect of only painting the last
I am trying to display video from a file.
My code is structured like...
while (true) {
getHeader()
doLotsOfMath();
frameNumber++;
update(getGraphics());
}
What have you done to deal with either of these two issues:
- throttling your updates
- making sure you
Hi Bill,
Why should you write
g = getGraphics()
each time you want to update it?
It's the most foolproof way.
Why shouldn't you fix g at some early point in the component's
life?
You can, but there are a number of circumstances in which a Graphics
can become invalid and then you are
Abel,
Don't think this'll fix your problem, but my understanding of AWT is that you should
be calling the repaint() method, not the update() method.
By calling update I think you are doing your repaint in the current thread, whereas if
you
call repaint your telling AWT to schedule a paint() at
Jim Graham wrote:
How slow? Which version of which VM? getGraphics performance continues
to be an area that we are working on. If you are fixing your max frame
rate at 30 or so frames per second, is it slow enough to affect that?
Even on some of our worst performing implementations
Undetermined origin c/o LISTSERV administrator wrote:
Abel,
Don't think this'll fix your problem, but my understanding of AWT is that you should
be calling the repaint() method, not the update() method.
By calling update I think you are doing your repaint in the current thread, whereas
if
Don't think this'll fix your problem, but my understanding of AWT is that
you should be calling the repaint() method, not the update() method.
This is definately the recommended course of action and the safest bet
generally. Be careful not to make assumptions about when your update
method
10 matches
Mail list logo