(Modeled around Apple problem # 3507928, re-submitted as # 3761717)
Intermittently, entire words get chopped off Labels in Apple Java 1.4.2 Update 1. Click Safari's Reload button to demonstrate this. This occurs about half of reloads on a 400 MHz 192 MB RAM G4.
import java.applet.*;
import java.awt.*;
public class label_word extends Applet {
public void init()
{
Frame f = new Frame();
f.add(new Label("This is Label #1. The final word in this
label should be \"off\" but sometimes it is left off",Label.CENTER,
BorderLayout.WEST);
f.add(new Label("This is Label #2, added to make sure Label
#1 doesn't hit the grow box", Label.CENTER), BorderLayout.SOUTH);
f.pack();
f.show();
}
public void paint(Graphics g)
{
g.drawString("A frame with a label \"This is a label\" should
pop up", 10 , 20);
}
} // END OF Class label_word
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.