-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
beta
-
x86, sparc
-
solaris_2.5.1, windows_nt
Name: aaC67449 Date: 06/24/99
The constructor JToolBar(int) does not set orientation.
Javadoc:"
public JToolBar(int orientation)
Create a new toolbar.
Parameters:
orientation - The initial orientation (HORIZONTAL/VERTICAL)
"
See example:
----------------- example -----------
import javax.swing.JToolBar;
public class Test {
public static void main(String argv[]) {
JToolBar c = new JToolBar(JToolBar.VERTICAL);
if(c.getOrientation()!=JToolBar.VERTICAL) {
System.out.println("Failed");
} else {
System.out.println("Passed");
}
}
}
-------------- JDK1.3-H output -----------
Failed
======================================================================
- duplicates
-
JDK-4245673 Missed placed JSlider in JToolbar
- Closed