2013-03-22 40 views

回答

0

从容器中取出组件并将其重新添加到北面。请致电revalidate()或更好,然后animateLayout()

myBorderContainer.removeComponent(button); 
myBorderContainer.addComponent(BorderLayout.NORTH, button); 
myBorderContainer.animateLayout(300); 
相关问题