Button label truncated when re-displayed using Java 1.4.x on Macintosh

(Apple report # 3494191)

When a panel with a button is re-displayed using Macintosh Java 1.4.x, the button's label gets cut off.  The applet above demonstrates this problem:

Click the "Click to leave panel 0" button.  Panel 1 appears with a "Click to leave panel 1" button.  After several clicks the number on the button disappears on at least one panel. 

This works fine on:

It is messed up even worse on:

If you have any insights, workarounds or comments about this test page please contact Mickey Segal.  A listing of  many Java resources is at this link.

Source code