Re: [JAVA2D] OT - Swing mailing list?

2006-01-13 Thread Rosenstrauch, David
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

[JAVA2D] OT - Swing mailing list?

2006-01-12 Thread Rosenstrauch, David
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

Re: [JAVA2D] OT - Swing mailing list?

2006-01-12 Thread Rosenstrauch, David
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

Re: [JAVA2D] OT - Swing mailing list?

2006-01-12 Thread Rosenstrauch, David
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

Re: [JAVA2D] OT - Swing mailing list?

2006-01-12 Thread Rosenstrauch, David
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

Re: [JAVA2D] Acceleration and movement problem

2005-05-11 Thread Rosenstrauch, David
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

[JAVA2D] FW: [JAVA2D] status bar

2004-10-21 Thread Rosenstrauch, David
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

[JAVA2D] color depth

2004-10-21 Thread Rosenstrauch, David
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

Re: [JAVA2D] color depth

2004-10-21 Thread Rosenstrauch, David
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

Re: [JAVA2D] color depth

2004-10-21 Thread Rosenstrauch, David
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

Re: [JAVA2D] color depth

2004-10-21 Thread Rosenstrauch, David
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

Re: [JAVA2D] Drawing text inside of a bounding box

2004-08-27 Thread Rosenstrauch, David
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

Re: [JAVA2D] How to create Image on headless machine?

2004-08-11 Thread Rosenstrauch, David
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

Re: [JAVA2D] memory problems with Java and System.gc()

2004-07-20 Thread Rosenstrauch, David
-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

Re: [JAVA2D] setSelected() method

2004-07-07 Thread Rosenstrauch, David
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

Re: [JAVA2D] FW: [JAVA2D] disappearing borders

2004-06-23 Thread Rosenstrauch, David
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

Re: [JAVA2D] transparent windows yet?

2004-06-01 Thread Rosenstrauch, David
-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:

Re: [JAVA2D] Foxtrot

2004-02-17 Thread Rosenstrauch, David
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

Re: [JAVA2D] Stumped on WEIRD swing/2d error

2003-11-19 Thread Rosenstrauch, David
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