+ public void setBounds(int x, int y, int width, int height)
+ {
+ System.out.println("?AlignmentPanel.setBounds " + this.getX() + " "
+ + this.getY() + " " + this.getWidth() + " " + getHeight() + " "
+ + x + " " + y + " " + width + " " + height);
+ // BH 2020.03.23 when the Desktop changes its progress bar it re-lays out
+ // all
+ // its
+ // children, for unclear reasons. Maybe because they could be tiled?
+ if (x == this.getX() && y == this.getY() && width == this.getWidth()
+ && height == this.getHeight())
+ {
+ return;
+ }
+ System.out.println("!AlignmentPanel.setBounds " + this.getX() + " "
+ + this.getY() + " " + this.getWidth() + " " + getHeight() + " "
+ + x + " " + y + " " + width + " " + height);
+ super.setBounds(x, y, width, height);
+ }
+
+ // @Override
+ // public void reshape(int x, int y, int width, int height)
+ // {
+ // // BH 2020.03.23 when the Desktop changes its progress bar it relays out
+ // all its
+ // // children, for unclear reasons. Maybe because they could be tiled?
+ // if (x == this.getX() && y == this.getY() && width == this.getWidth()
+ // && height == this.getHeight())
+ // {
+ // return;
+ // }
+ //
+ // System.out.println("AlignmentPanel.reshape " + this.getX() + " "
+ // + this.getY() + " " + this.getWidth() + " " + getHeight() + " "
+ // + x
+ // + " " + y + " " + width + " " + height);
+ // super.reshape(x, y, width, height);
+ // }
+
+ @Override