-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
None
-
1.4.0
-
x86, sparc
-
solaris
=========================================================================
Merlin build: beta_refresh-b66
Solaris9 build: s81_39 with "Entire distribution OEM support" installing
locale : ja_JP.UTF-8
=========================================================================
>java -version
java version "1.4.0-beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta_refresh-b66)
Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b66, mixed mode)
>uname -a
SunOS ronrico 5.9 s81_39 sun4u sparc SUNW,Ultra-5_10
Some Swing components are not displayed in their proper size on Solaris9/Sparc.
The components are wider in vertical direction than their noamrl width.
For example,
JButton
JMenuBar
JMenu
JRadioButton
JCheckBox
JTabbedPane
JEditorPane
-The space between the lines of the contents displayed on JEditorPane is wider.
To reproduce,
1. Launch SwingSet2.jar ($JAVAHOME/demo/jfc/SwingSet2/SwingSet2.jar)
Java L&F and JInternalFrame demo is selected by default.
JMenubar is wider in vertical direction than its noamrl width.
JTabbedPane for each componet's demo has the same problem.
2. Change L&F to Motif L&F.
The items of JMenu for L&F(JRadioButton ) has the same problem.
3. Click Button demo.
JButton, JRadioButton, JCheckBox.... have the same problem.
4. Regarding JEditorPane, click JEditorPaneHTMLdemo
You can see the same kind of phenomenon with Stylepad demo($JAVAHOME/demo/jfc/Stylepad.jar).
***NOTE***
The same kind of phenomenon is seen in
PrinterJob.pageDialog and Printerjob.printDialog though I am not sure Swing componets are used in them.
(This problem is not seen in awt component such as Button, RadioButton, CheckBox or Label.)
To reproduce for printDialog and pageDialog,
1. Compile PrintTest.java (attached)
2. Launch PrintTest
3. Click one of the button ammong "Plain", "Styled" and "Use2D".
Then, pageDialog comes up and the problem is seen.
4. Click OK button.
Then, printDialog comes up and it is too long in vertical direction, therefore,
the whole of the dialog is not visible.
On ja, ja_JP.PCK and C locale, Swing components are not displayed, therefore,
I can not confirm whether this problem occurs or not.
=========================================================================
Tested with Merlin b67 Solaris9/x86/ja_JP.UTF-8 s81_39:
this kind of phenomenon is seen though only some part of demo is displayed, not whole.
For example, clicking around the top on the frame, JMenubar appears and clicking one of the menu, JRadioButton apperas and you can see the problem.
miki.tokunaga@japan 2001-06-11
=========================================================================
I attached some gif files(4466209gif.tar).
I tried to test again and the results are below;
32bit solaris9 sparc/ja_JP.UTF-8 locale
========================================
ServerVM: Java HotSpot(TM) Server VM (build 1.4.0-beta_refresh-b67, mixed mode)
ClientVM: Java HotSpot(TM) Client VM (build 1.4.0-beta_refresh-b67, mixed mode)
- #4466209 is reproducible.
Please see the files below to see the phenomenon;
Solaris9_Sparc_ja.JP_UTF8_javaLF_32bit_cient.gif
Solaris9_Sparc_ja.JP_UTF8_motifLF_32bit_client.gif
32bit solaris9 sparc/c locale
========================================
ServerVM and ClientVM:
- Swing components are not displayed
Please see Solaris9_Sparc_C_javaLF_32bit_client.gif.
64bit solaris9 sparc/ ja_JP.UTF-8 locale
=========================================
64bit-ServerVM:Java HotSpot(TM) 64-Bit Server VM (build 1.4.0-beta_refresh-b67, mixed mode)
-SwingSet2 works fine.
ServerVM:
Java HotSpot(TM) Server VM (build 1.4.0-beta_refresh-b67, mixed mode)
-#4466209 is reproducible as same as 32bit solaris9 Sparc.
Please see the files below to see the phenomenon;
Solaris9_Sparc_ja.JP_UTF8_javaLF_32bit_cient.gif
Solaris9_Sparc_ja.JP_UTF8_motifLF_32bit_client.gif
64bit solaris9 sparc/c locale
========================================
Client VM, Server VM and 64bit-Server VM:
- Swing components are not displayed as same as 32bit machine.
Please see Solaris9_Sparc_C_javaLF_32bit_client.gif.
solaris9 x86/ja_JP.UTF-8 locale
========================================
The result is same as "32bit solaris9 sparc/ja_JP.UTF-8 locale" above.
*** Thus, Swing can work on only on solaris9/ja_JP.UTF8 using 64bit-Server VM.***
64bit solaris8 sparc/ ja_JP.UTF-8 locale
=========================================
- SwingSet2 works fine as same as solaris9/Sparc with 64bit-ServerVM.
Please see Solaris8_ja.JP_UTF8_64bit_client.gif.
miki.tokunaga@japan 2001-06-14
--------------------------------------------------------------------------------
I confirmed that this problem is no more reproducible on Solaris9/Sparc s81_40 which is latest build using Merlin beta-refresh b68.
It is not reproducible using ServerVM, 64-bit ServerVM and ClientVM.
miki.tokunaga@japan 2001-06-15
- relates to
-
JDK-4465659 S9:Swing application(SwingSet2, Notepad, Java2D...) aren't displayed on S9
-
- Closed
-