Package java.awt

Examples of java.awt.Container.repaint()


              .getPreferredSize().height);
          textField.setPreferredSize(d);
          textField.setSize(d);
          textField.setMaximumSize(d);
          textField.setMinimumSize(d);
          textField.repaint();

          i += 1; // skip delete-label
        }
        // -- update elements of each column - end --
      }
View Full Code Here


       
        if (parent != null) {
            Container toplevel = parent.getTopLevelAncestor();
            parent.remove(this);
            toplevel.validate();
            toplevel.repaint();
        }
    }

    /**
     * Determines if the glass box if dismissed when a user clicks on it.
View Full Code Here

        glassPane.add(this);
        glassPane.setVisible(true);

        Container topLevel = getTopLevel();
        topLevel.validate();
        topLevel.repaint();
    }

}
View Full Code Here

            private void update() {
                preferenceChanged(ImageView.this, true, true);
                final Container component = getContainer();
                if (component != null) {
                    component.repaint();
                }
            }
        };
    }
   
View Full Code Here

  protected void updatePanelSize() {
    Container parent = getParent();
    if (parent != null) {
      parent.doLayout();
      scrollPane.doLayout();
      parent.repaint();
    }
  }

  /**
   * The font of the line number.
View Full Code Here

          ((JComponent)parent).revalidate();
        } else {
          parent.invalidate();
        }
        parent.doLayout();
        parent.repaint();
      }       
    }

    /**
     * Reinitializes the timer for scrolling up/down the component. This method
View Full Code Here

/* 1163 */         doParentLayout();
/*      */       } else {
/* 1165 */         this.qtcHelper.doSetGWorld(false);
/* 1166 */         Container localContainer = getParent();
/* 1167 */         if (localContainer != null)
/* 1168 */           localContainer.repaint();
/*      */       }
/*      */     }
/*      */     catch (QTException localQTException) {
/* 1172 */       QTRuntimeException.handleOrThrow(new QTRuntimeException(localQTException), this.qtcHelper.mClient, "setGWorld");
/*      */     }
View Full Code Here

/* 699 */         doParentLayout();
/*     */       } else {
/* 701 */         this.qtcHelper.doSetGWorld(false);
/* 702 */         Container localContainer = getParent();
/* 703 */         if (localContainer != null)
/* 704 */           localContainer.repaint();
/*     */       }
/*     */     }
/*     */     catch (QTException localQTException) {
/* 708 */       QTRuntimeException.handleOrThrow(new QTRuntimeException(localQTException), this.qtcHelper, "setGWorld");
/*     */     }
View Full Code Here

            private void update() {
                preferenceChanged(ImageView.this, true, true);
                final Container component = getContainer();
                if (component != null) {
                    component.repaint();
                }
            }
        };
    }
   
View Full Code Here

    public static void dismiss (JInternalFrame dialog)
    {
        Container parent = dialog.getParent();
        if (parent != null) {
            parent.remove(dialog);
            parent.repaint();
        }
        dialog.setVisible(false);
    }

    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.