597
598 return new Rectangle(newX, newY, newW, newH);
599 }
600
601 public void setBounds(int x, int y, int width, int height, int op) {
602 Rectangle newBounds = constrainBounds(x, y, width, height);
603 super.setBounds(newBounds.x, newBounds.y, newBounds.width, newBounds.height, op);
604 }
605
606 @Override
607 public void setOpacity(float opacity) {
608 // not implemented
609 }
610
611 @Override
612 public void setOpaque(boolean isOpaque) {
613 // no-op
614 }
615
616 @Override
617 public void updateWindow(BufferedImage backBuffer) {
618 // no-op
619 }
620
621 public void repositionSecurityWarning() {
622 // not implemented
623 }
624
625 }
|
597
598 return new Rectangle(newX, newY, newW, newH);
599 }
600
601 public void setBounds(int x, int y, int width, int height, int op) {
602 Rectangle newBounds = constrainBounds(x, y, width, height);
603 super.setBounds(newBounds.x, newBounds.y, newBounds.width, newBounds.height, op);
604 }
605
606 @Override
607 public void setOpacity(float opacity) {
608 // not implemented
609 }
610
611 @Override
612 public void setOpaque(boolean isOpaque) {
613 // no-op
614 }
615
616 @Override
617 public void updateWindow() {
618 // no-op
619 }
620
621 public void repositionSecurityWarning() {
622 // not implemented
623 }
624
625 }
|