-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
8
-
– listing properties –
javafx.version=8.0.0-ea
java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=C:\Program Files\Java\jdk1.8.0\jre\bin
java.vm.version=25.0-b42
java.vm.vendor=Oracle Corporation
java.vendor.url=http://java.oracle.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.script=
user.country=CN
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=
java.vm.specification.name=Java Virtual Machine Specification
user.dir=E:\java\nbProj\FxTest
java.runtime.version=1.8.0-ea-b100
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
javafx.runtime.version=8.0.0-ea-b100
java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0\jre\li...
os.arch=x86
java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp\
line.separator=java.vm.specification.vendor=Oracle Corporation
user.variant=
os.name=Windows 7
sun.jnu.encoding=GBK
java.library.path=C:\Program Files\Java\jdk1.8.0\jre\bi...
java.specification.name=Java Platform API Specification
java.class.version=52.0
sun.management.compiler=HotSpot Client Compiler
os.version=6.1
user.home=C:\Users\Administrator
user.timezone=
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.specification.version=1.8
file.encoding=UTF-8
user.name=Administrator
java.class.path=E:\java\nbProj\FxTest\dist\run1672926...
java.vm.specification.version=1.8
sun.arch.data.model=32
java.home=C:\Program Files\Java\jdk1.8.0\jre
sun.java.command=E:\java\nbProj\FxTest\dist\run1672926...
java.specification.vendor=Oracle Corporation
user.language=zh
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode
java.version=1.8.0-ea
java.ext.dirs=C:\Program Files\Java\jdk1.8.0\jre\li...
sun.boot.class.path=C:\Program Files\Java\jdk1.8.0\jre\li...
java.vendor=Oracle Corporation
file.separator=\
java.vendor.url.bug=http://bugreport.sun.com/bugreport/
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+m...– listing properties – javafx.version=8.0.0-ea java.runtime.name=Java(TM) SE Runtime Environment sun.boot.library.path=C:\Program Files\Java\jdk1.8.0\jre\bin java.vm.version=25.0-b42 java.vm.vendor=Oracle Corporation java.vendor.url= http://java.oracle.com/ path.separator=; java.vm.name=Java HotSpot(TM) Client VM file.encoding.pkg=sun.io user.script= user.country=CN sun.java.launcher=SUN_STANDARD sun.os.patch.level= java.vm.specification.name=Java Virtual Machine Specification user.dir=E:\java\nbProj\FxTest java.runtime.version=1.8.0-ea-b100 java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment javafx.runtime.version=8.0.0-ea-b100 java.endorsed.dirs=C:\Program Files\Java\jdk1.8.0\jre\li... os.arch=x86 java.io.tmpdir=C:\Users\ADMINI~1\AppData\Local\Temp\ line.separator= java.vm.specification.vendor=Oracle Corporation user.variant= os.name=Windows 7 sun.jnu.encoding=GBK java.library.path=C:\Program Files\Java\jdk1.8.0\jre\bi... java.specification.name=Java Platform API Specification java.class.version=52.0 sun.management.compiler=HotSpot Client Compiler os.version=6.1 user.home=C:\Users\Administrator user.timezone= java.awt.printerjob=sun.awt.windows.WPrinterJob java.specification.version=1.8 file.encoding=UTF-8 user.name=Administrator java.class.path=E:\java\nbProj\FxTest\dist\run1672926... java.vm.specification.version=1.8 sun.arch.data.model=32 java.home=C:\Program Files\Java\jdk1.8.0\jre sun.java.command=E:\java\nbProj\FxTest\dist\run1672926... java.specification.vendor=Oracle Corporation user.language=zh awt.toolkit=sun.awt.windows.WToolkit java.vm.info=mixed mode java.version=1.8.0-ea java.ext.dirs=C:\Program Files\Java\jdk1.8.0\jre\li... sun.boot.class.path=C:\Program Files\Java\jdk1.8.0\jre\li... java.vendor=Oracle Corporation file.separator=\ java.vendor.url.bug= http://bugreport.sun.com/bugreport/ sun.cpu.endian=little sun.io.unicode.encoding=UnicodeLittle sun.desktop=windows sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+m...
if (job != null) {
VBox box = new VBox();
Text contact = new Text("电话:0755-12345678 传真:9876543"); // line 4
Text contactEn = new Text("TEL:0755-12345678 FAX:9876543"); // line 5
Text allChinese = new Text("电话 传真 电话 传真"); // line 6
Button btn = new Button("电话:0755");// line 7
box.getChildren().addAll(contact, contactEn, allChinese, btn);
boolean success = job.printPage(box);
if (success) {
job.endJob();
}
}
---------------------------------------
line 4 ,the non Chinese "0755-12345678" will be on the top of the Chinese "电话:"
line 5 is ok
line 6 is ok
line 7 is ok