예제 #1
0
 @Override
 protected void paintChildren(Graphics g) {
   /*
    * Don't paint the drawableComponent. If we'd use a GLJPanel instead of a
    * GLCanvas, we'd have to paint it here.
    */
   if (!isGLDrawing()) {
     super.paintChildren(g);
   }
 }
예제 #2
0
 @Override
 protected void paintChildren(Graphics g) {
   if (!mouse) super.paintChildren(g);
   else {
     g.drawImage(
         lastScreen,
         getInsets().left,
         getInsets().top,
         lastScreen.getWidth(),
         lastScreen.getHeight(),
         null);
   }
 }
예제 #3
0
 @Override
 protected void paintComponent(Graphics g) {
   super.paintChildren(g);
   this.g2 = (Graphics2D) g;
   if (this.tempdeathImage == null) {
     this.tempdeathImage =
         ArtistTools.resizeImage(
             this.deathImage,
             this.deathImage.getType(),
             this.frame.getWidth(),
             this.frame.getHeight() - 50);
   }
   this.g2.drawImage(this.tempdeathImage, null, 0, 0);
 }
 protected final void paintChildren(Graphics g) {
   super.paintChildren(g);
 }
예제 #5
0
 // Debugging
 @Override
 protected void paintChildren(Graphics g) {
   super.paintChildren(g);
   BaseGroup.Debug.paint(g, this, topOffset);
 }
예제 #6
0
 /** @see javax.swing.JComponent#paintChildren(java.awt.Graphics) */
 protected void paintChildren(Graphics g) {
   super.paintChildren(g);
   final Insets insets = swingPeer.getInsets();
   // SwingToolkit.paintLightWeightChildren(target, g, insets.left,insets.top);
 }