Hi I've designed a bean inside an applet overriding the ComponentResized event for both the bean and the applet. During run time, when I drag the bean all its components gets resized properly, but when I use the maximise buttons, the bean components(the bean has a JTable, 2 JButtons and a JScrollPane) and the applet components(2 JButtons) don't function properly. Here is the sample code for both of them. I would really appreciate if anybody could throw some light on this. void BeanTable_componentResized(java.awt.event.ComponentEvent event) { JLabel1.setText("Bean Resized"); int width = this.getWidth(); int height = this.getHeight(); System.out.println("Bean width = " + width + "Bean Height = " + height); setBeansize(width, height); System.out.println("Bean width = " + width + "Bean Height = " + height); } ================================================================ public void setBeansize(int width, int height) { int x = this.getX(); int y = this.getY(); int b1x = JButton1.getX(); int b1y = JButton1.getY(); int b1w = JButton1.getWidth(); int b1h = JButton1.getHeight(); int b2x = JButton2.getX(); int b2y = JButton2.getY(); int b2w = JButton2.getWidth(); int b2h = JButton2.getHeight(); int spx= JScrollPane1.getX(); int spy = JScrollPane1.getY(); int spw = JScrollPane1.getWidth(); int sph = JScrollPane1.getHeight(); int t1x = JTable1.getX(); int t1y = JTable1.getY(); int t1w = JTable1.getWidth(); int t1h = JTable1.getHeight(); int l1x = JLabel1.getX(); int l1y = JLabel1.getY(); int l1w = JLabel1.getWidth(); int l1h = JLabel1.getHeight(); int btn_space = b2x - b1x - b1w; this.setSize(width ,height ); JScrollPane1.setBounds(0, 0, width, height);