Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
This bug is reproducible with Java Control Panel (available with JRE). In 1.5 the Control Panel uses JTextArea components with word wrap. The pack() method does not determine the size of the Control Panel correctly if setLineWrap(true); setWrapStyleWord(true); are set on the JTextArea components. This causes some components of Control Panel to show up off the viewable area. Control Panel is localized application, and in different languages the size of each text area will change. In order to make Control Panel show up correctly in all locals this has to be fixed. I am attaching an easy test case which demonstrates the problem. If you comment out lines where you set the word line wrap to true, the frame will pack and show up correctly.
|