Re: createImage() always returns null

1999-02-14 Thread David Wall
Chris wrote: >is the Panel already visible? > >If not, then show() it before getting a Image! Or just do an addNotify() before...this gets the peers started

Re: createImage() always returns null

1999-02-14 Thread Chris Huebsch
Hello, is the Panel already visible? If not, then show() it before getting a Image! greetings Chris Manfred Bartz wrote: > > I want to create an off-screen image in a Swing application. > The program compiles without errors, but createImage() always > returns null. > >

createImage() always returns null

1999-02-14 Thread Manfred Bartz
I want to create an off-screen image in a Swing application. The program compiles without errors, but createImage() always returns null. The only examples from the tutorial that contain createImage() are applets (not swing applications) and seem to work fine. For verification, I included the