JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
  
 
 
 
 
 
Method Summary 
 
Methods declared in class java.lang.Object  
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
 
 
 
Method Detail 
 
moveAndRepaint 
public void moveAndRepaint(JComponent  f,
                           int newX,
                           int newY,
                           int newWidth,
                           int newHeight) 
Moves and repaints a component f.
Parameters: f - a componentnewX - a new X coordinatenewY - a new Y coordinatenewWidth - a new widthnewHeight - a new height 
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
  
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy . 
 
Scripting on this page tracks web page traffic, but does not change the content in any way.