*** 251,260 **** --- 251,261 ---- public void update(Graphics g) { paint(g); } + @SuppressWarnings("deprecation") public void show() { this.pack(); if (getWidth() > 0 && getHeight() > 0) { super.show(); }