A couple of fixes for SwingComponentPeer. These are needed for my
X/Escher peers to work correctly.

2006-06-27  Roman Kennke  <[EMAIL PROTECTED]>

        * gnu/java/awt/peer/swing/SwingComponentPeer.java
        (createImage): Delegate this to the parent.
        (handleEvent): Only handle PAINT/UPDATE events when the
        component is actually showing.
        (hide): Repaint the parent after hiding a component.
        (prepareImage): Have only one return point.
        (setVisible): Delegate to show() and hide().
        (createVolatileImage): Added null check to avoid NPE.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to