I already sent that in a previous message, but I'll enclose
it here again (below).
Thanks,
DR
Doh! Hit the send button too soon. Here it is.
DR
Full thread dump Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode):
Java2D Disposer daemon prio=10 tid=0x1a90f4a0 nid=0x46c in
Apologies for the off topic post, but I figured someone here might be able to
point me in the right direction.
Anyone know if there's a swing-specific mailing list? Preferably one hosted by
Sun and/or frequented by members of the Swing team. Or are the forums over at
javadesktop.org
I'm not sure of the best alias or forum (but I'm pretty sure
that they listen
in on at least [EMAIL PROTECTED] and that some of the forums
end up in their email).
But if you're having a machine-specific issue, it could also be
a 2D issue, related to graphics drivers.
Can you send us the
Sure thing. Attached below.
I omitted it since I figured it wasn't relevant. (The rest of the stack trace
didn't involve any of our code.)
Thanks,
DR
-Original Message-
From: Dmitri Trembovetski [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 4:13 PM
To: Rosenstrauch
OK, so the upgrade of the JDK didn't fix the problem.
But ...
I just got to speak with the client, and *was* able to figure out what the
problem is - and how to get around it!
It's very weird, but apparently Java is somehow getting a conflict with the
most recent version of the GoToMyPC
I'm trying to make a game with a space ship that has the same
physics as
the Asteroids ship. you can rotate the ship and accelerate
towards the
direction the ship is pointing and no air resistance to slow the ship
down. If you want to stop, you need to accelerate in the opposite
direction
Whoops! I meant to send this to the list, not
privately.
DR
-Original Message-From: Rosenstrauch, David
Sent: Thursday, October 21, 2004 9:24 AMTo:
'Braun-Friedman, David'Subject: RE: [JAVA2D] status
bar
I
generally use a panelcontaining one
Is there a way to query the color depth (bits per pixel) from a BufferedImage?
I found a 3rd party helper class to do this
(http://www.geocities.com/marcoschmidt.geo/image-info.html), but I was hoping
there was something built into the JDK that I could use.
TIA,
DR
Hi David,
you can use
BufferedImage bi = ...;
ColorModel cm = bi.getColorModel();
int bpp = cm.getPixelSize();
Thank you,
Dmitri
Hmmm. That did work (thanks!), but it looks that's not actually what I'm
looking for after all. Let me clarify my problem a little bit
i guess your encoder should be 100% java otherwise it
may use native library that rely on the colordepth the machine
can handle...
Yeah, it's all Java.
DR
==
This message is for the sole use of the intended
Hi David,
Hi Jim. Thanks very much for the response and helpful suggestions.
It sounds like this GIF encoder package you found does some
funny work
under the covers to process the pixels and ends up using a system
ColorModel when it doesn't need to. It doesn't have to have
native code
You can set a clipping region on the graphics context before painting the
string. Anything that would be painted outside this region gets clipped -
i.e., chopped off. That should effectively set a maximum size on the area you
paint the text in.
See java.awt.Graphics.setClip()
HTH,
DR
I want to create an Image from scratch, get its graphics, draw into
it, then use the Image to create a Jpeg.
I can do all of this on a client JVM, but I have never tried this on
the server side, and now I'm running into HeadlessExceptions.
I vaguely recall that Java 1.4 provided some way to
-Original Message-
From: Discussion list for Java 2D API
[mailto:[EMAIL PROTECTED] Behalf Of Sven Mielordt
Sent: Tuesday, July 20, 2004 9:02 AM
To: [EMAIL PROTECTED]
Subject: [JAVA2D] memory problems with Java and System.gc()
Dear fellows,
I'm working on very complex
not...If anyone might be able to tell me what
might
be the problem, that would be great...
The code for
my
class is as follows: The problem is that openigFrame does not appear
selected when created, it must be clicked upon to get the focus
[Rosenstrauch,
David]
The following should
this is happening or how to resolve the problem so
everything works with the latest jdk, it would be much appreciated.
Thanks.
[Rosenstrauch,
David]
It's
really pretty hard to say what could be causing this, given that there were
not much details provided in your message. (I suspect
-Original Message-
From: Discussion list for Java 2D API
[mailto:[EMAIL PROTECTED] Behalf Of Kevin Weiner
Sent: Saturday, May 29, 2004 9:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA2D] transparent windows yet?
Take a look at this also:
I looked at Foxtrot a while back, but decided against using it. My concerns
were somewhat similar to yours: I felt that their dependence on particular
implementation details of Java's event handling system - and the fact that
they've needed to change Foxtrot in response to it breaking when
Good to know. Thanks for the info, Doug!
DR
-Original Message-
From: Doug Felt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 19, 2003 11:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA2D] Stumped on WEIRD swing/2d error
BTW, in the future this error will not be propagated
19 matches
Mail list logo