[JAVA2D] hi, question about draw a rectangle

2008-08-08 Thread java2d
hi all, i am new to jogl, and trying to play with it. the question is that i want to draw a rectangle, but the question is that, it automacticely fill with some colour, which i don`t want it to be, i just want to draw a rectangle without filling anything, just need to see four lines, and within

Re: [JAVA2D] VolatileImage.validate() does not (always) work

2008-08-08 Thread java2d
Hi Mark, Because our software is a huge project with many packages, it is not that easy . . . The graphic I'am talking about is nested in one of our own dialog classes. This dialog can be made of of different container types. In my case this type is a JFrame. So i added this code to the

Re: [JAVA2D] VolatileImage.validate() does not (always) work

2008-08-08 Thread Dmitri Trembovetski
Ugh. Please don't attempt to cache or track your GraphicsConfiguration. It will be updated for you when the window is moved. You are supposed to retrieve it every time from the component. The test I sent the other day was just an illustration and quick verification test, not