-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.2.2
-
x86
-
linux
Name: iaR10016 Date: 02/15/2000
The frame window of the folowing test contains ScrollPane component with Label component.
ScrollPane has a horizontal scrollbar because its size is less then the label size. To
reproduce the bug drug horizontal scrollbar's bubble to the right side of the scollbar. Then
maximize the test frame window or resize it. While the Scrollpane's scrollbar does not become
invisible during resizing, the following warnings appears in the standart output device:
...
Warning:
Name: VertScrollBar
Class: XmScrollBar
The specified scrollbar value is less than the minimum
scrollbar value.
...
This effect appears in Linux 1.2.2 JDK and in Solaris 1.2.2 JDK.
--------------------test.java---------------------------------------------
import java.awt.*;
public class test extends Frame {
public static void main(String[] args) {
Frame aFrame = new Frame("ScrollPane test");
Label aLabel = new Label("I am a Label in ScrollPane component!");
ScrollPane aScrollPane = new ScrollPane();
aScrollPane.add(aLabel);
aFrame.add(aScrollPane, BorderLayout.CENTER);
aFrame.setSize(new Dimension(200,100));
aFrame.setVisible(true);
}
}
======================================================================
======================================================================