2004.11.17
Tang Liang
1. The problem that JBuilderx's cursor cannot be aligned from Sun's JDK itself, in fact, there is no relationship with Borland. The best way to solve is to replace the font.properties.en file under the JBuilderx / JDK1.4 / JRE / LIB directory. This is a description of the font. Just replace this file as follows, you can.
# @ (#) font.properties.zh 1.10 02/03/07
#
# Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.
#
# Component Font Mappings
#
Dialog.plain.0 = tahoma, ANSI_Charset
Dialog.plain.1 = / U5B8B / U4F53, GB2312_CHARSET
Dialog.plain.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialog.plain.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialog.Bold.0 = Taoma Bold, ANSI_CHARSET
Dialog.Bold.1 = / U5B8B / U4F53, GB2312_CHARSET
Dialog.Bold.2 = WINGDINGS, SYMBOL_CHARSET, NEED_CONVERTED
Dialog.Bold.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialog.italic.0 = Tahoma Italic, ANSI_CHARSET
Dialog.italic.1 = / u5b8b / u4f53, gb2312_charset
Dialog.italic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialog.italic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialog.bolditalic.0 = Tahoma bold italic, ANSI_CHARSET
Dialog.bolditalic.1 = / U5B8B / U4F53, GB2312_CHARSET
Dialog.Bolditalic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialog.bolditalic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialoginput.Plain.0 = Courier New, ANSI_Charset
Dialoginput.Plain.1 = / u5b8b / u4f53, gb2312_charset
Dialoginput.Plain.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialoginput.plain.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialoginput.Bold.0 = Courier New Bold, ANSI_CHARSET
Dialoginput.bold.1 = / u5b8b / u4f53, gb2312_charset
Dialoginput.Bold.2 = WINGDINGS, SYMBOL_CHARSET, NEED_CONVERTED
Dialoginput.bold.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialoginput.italic.0 = Courier New Italic, ANSI_CHARSET
Dialoginput.italic.1 = / u5b8b / u4f53, gb2312_charsetdialoginput.italic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialoginput.italic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Dialoginput.Bolditalic.0 = Courier New Bold Italic, ANSI_CHARSET
Dialoginput.bolditalic.1 = / u5b8b / u4f53, gb2312_charset
Dialoginput.Bolditalic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialoginput.bolditalic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
Serif.Plain.0 = Tahoma, ANSI_CHARSET
Serif.Plain.1 = / U5B8B / U4F53, GB2312_CHARSET
Serif.Plain.2 = Wingdings, Symbol_Charset
Serif.plain.3 = Symbol, Symbol_Charset
Serif.bold.0 = Tahoma Bold, ANSI_Charset
Serif.Bold.1 = / U5B8B / U4F53, GB2312_CHARSET
Serif.Bold.2 = WINGDINGS, SYMBOL_CHARSET
Serif.Bold.3 = Symbol, Symbol_Charset
Serif.italic.0 = Tahoma Italic, ANSI_CHARSET
Serif.italic.1 = / U5B8B / U4F53, GB2312_CHARSET
Serif.italic.2 = Wingdings, Symbol_Charset
Serif.italic.3 = SYMBOL, SYMBOL_CHARSET
Serif.Bolditalic.0 = Tahoma Bold Italic, ANSI_CHARSET
Serif.bolditalic.1 = / U5B8B / U4F53, GB2312_CHARSET
Serif.Bolditalic.2 = Wingdings, Symbol_Charset
Serif.bolditalic.3 = Symbol, Symbol_Charset
###################################################
# Serif.plain.0 = Times New Roman, ANSI_CHARSET
# Serif.plain.1 = / U5B8B / U4F53, GB2312_CHARSET
# Serif.plain.2 = WINGDINGS, SYMBOL_CHARSET
# Serif.plain.3 = Symbol, Symbol_Charset
# Serif.Bold.0 = Times New Roman Bold, ANSI_CHARSET
# Serif.Bold.1 = / U5B8B / U4F53, GB2312_CHARSET
# Serif.Bold.2 = Wingdings, Symbol_Charset
# Serif.Bold.3 = Symbol, Symbol_Charset
# Serif.italic.0 = Times New Roman Italic, ANSI_CHARSET
# Serif.italic.1 = / U5B8B / U4F53, GB2312_CHARSET
# Serif.italic.2 = WINGDINGS, SYMBOL_CHARSET
# Serif.italic.3 = Symbol, Symbol_Charset # Serif.Bolditalic.0 = Times New Roman Bold Italic, ANSI_Charset
# Serif.Bolditalic.1 = / U5B8B / U4F53, GB2312_CHARSET
# Serif.Bolditalic.2 = Wingdings, Symbol_Charset
# Serif.Bolditalic.3 = Symbol, Symbol_Charset
###########################################
Sansserif.plain.0 = Tahoma, ANSI_Charset
Sansserif.plain.1 = / U5B8B / U4F53, GB2312_CHARSET
Sansserif.Plain.2 = WINGDINGS, SYMBOL_CHARSET
Sansserif.plain.3 = Symbol, Symbol_Charset
Sansserif.Bold.0 = Tahoma Bold, ANSI_CHARSET
Sansserif.Bold.1 = / U5B8B / U4F53, GB2312_CHARSET
Sansserif.Bold.2 = Wingdings, Symbol_Charset
Sansserif.Bold.3 = Symbol, Symbol_Charset
Sansserif.italic.0 = Tahoma Italic, ANSI_CHARSET
Sansserif.italic.1 = / U5B8B / U4F53, GB2312_CHARSET
Sansserif.italic.2 = Wingdings, Symbol_Charset
Sansserif.italic.3 = Symbol, Symbol_Charset
Sansserif.Bolditalic.0 = Tahoma Bold Italic, ANSI_CHARSET
Sansserif.bolditalic.1 = / U5B8B / U4F53, GB2312_CHARSET
Sansserif.bolditalic.2 = Wingdings, Symbol_Charset
Sansserif.Bolditalic.3 = Symbol, Symbol_Charset
Monospaced.Plain.0 = Courier New, GB2312_Charset
Monospaced.Plain.1 = / u5b8b / u4f53, gb2312_charset
Monospaced.Plain.2 = WINGDINGS, SYMBOL_CHARSET
Monospaced.Plain.3 = Symbol, Symbol_Charset
Monospaced.Bold.0 = Courier New Bold, GB2312_CHARSET
Monospaced.bold.1 = / u5b8b / u4f53, gb2312_charset
Monospaced.Bold.2 = Wingdings, Symbol_Charset
Monospaced.Bold.3 = Symbol, Symbol_Charset
Monospaced.italic.0 = Courier New Italic, GB2312_CHARSET
Monospaced.italic.1 = / u5b8b / u4f53, gb2312_charset
Monospaced.italic.2 = Wingdings, Symbol_Charset
Monospaced.italic.3 = Symbol, Symbol_Charset
Monospaced.Bolditalic.0 = Courier New Bold Italic, GB2312_Charsetmonospaced.Bolditalic.1 = / U5B8B / U4F53, GB2312_CHARSET
Monospaced.bolditalic.2 = Wingdings, Symbol_Charset
Monospaced.bolditalic.3 = Symbol, Symbol_Charset
# Name Aliases
# alias.timeesroman = serif
Alias.helvetica = Sansserif
Alias.courier = monospaced
# Font file names
#
FILENAME./u5b8b/u4f53=simsun.ttc
Filename.tahoma = tahoma.ttf
FILENAME.TAHOMA_ITALIC = Tahoma.ttf
FILENAME.tahoma_bold = Tahombd.ttf
FILENAME.tahoma_bold_italic = Tahomabd.ttf
FILENAME.Arial = arial.ttf
FILENAME.Arial_Bold = arialbd.ttf
FILENAME.Arial_Italic = ariali.ttf
Filename.Arial_bold_italic = arialbi.ttf
FILENAME.COURIER_NEW = COUR.TTF
FILENAME.COURIER_NEW_BOLD = Courbd.ttf
FILENAME.COURIER_NEW_ITALIC = Couri.ttf
FILENAME.COURIER_NEW_BOLD_ITALIC = Courbi.ttf
FILENAME.TIMES_NEW_ROMAN = Times.ttf
FILENAME.TIMES_NEW_ROMAN_BOLD = TIMESBD.TTF
FILENAME.TIMES_NEW_ROMAN_ITIC = Timesi.ttf
FILENAME.TIMES_NEW_ROMAN_BOLD_ITALIC = Timesbi.ttf
FILENAME.WINGDINGS = WINGDING.TTF
FILENAME.SYMBOL = Symbol.ttf
# Missing Glyph Character
#
DEFAULT.CHAR = 2751
# Component Font Character EncoDings
#
Fontcharset.dialog.1 = sun.io.Chartobytegbk
Fontcharset.dialog.2 = sun.awt.windows.ChartobytewingdingDings
Fontcharset.dialog.3 = sun.awt.chartobytesymbol
Fontcharset.dialoginput.1 = sun.io.Chartobytegbk
Fontcharset.dialoginput.2 = sun.awt.windows.ChartobyTewingDings
Fontcharset.dialoginput.3 = sun.awt.chartobytesymbol
Fontcharset.serif.1 = sun.io.Chartobytegbk
Fontcharset.serif.2 = sun.awt.windows.Chartobytewingdings
Fontcharset.serif.3 = sun.awt.chartobytesymbol
Fontcharset.sansserif.1 = sun.io.Chartobytegbkfontcharset.sansserif.2 = sun.awt.windows.ChartobyTewingDings
Fontcharset.sansserif.3 = sun.awt.chartobytesymbol
Fontcharset.monospaced.0 = sun.io.Chartobytegbk
Fontcharset.monospaced.1 = sun.io.Chartobytegbk
Fontcharset.Monospaced.2 = sun.awt.windows.ChartobyTewingDings
Fontcharset.monospaced.3 = sun.awt.chartobytesymbol
# Exclusion Ranges
#
# ec ionion d = = 0100-20AB, 20AD-F8FF
# e = = = = = = 0100-20AB, 20AD-F8FF
# e e ion. 0 0 =
# e = =.. = = 0
# e e = m = = = = =
Exclusion.tahoma.plain.0 = 00A0-F8FF
Exclusion.tahoma.italic.0 = 00A0-F8FF
Exclusion.tahoma.bold.0 = 00A0-F8FF
Exclusion.tahoma.bolditalic.0 = 00A0-F8FF
Exclusion.dialog.plain.0 = 00A0-F8FF
Exclusion.dialog.italic.0 = 00A0-F8FF
Exclusion.dialog.Bold.0 = 00A0-F8FF
Exclusion.dialog.bolditalic.0 = 00A0-F8FF
Exclusion.dialoginput.Plain.0 = 00A0-F8FF
Exclusion.dialoginput.italic.0 = 00A0-F8FF
Exclusion.dialoginput.bold.0 = 00a0-f8ff
Exclusion.dialoginput.bolditalic.0 = 00A0-F8FF
Exclusion.serif.plain.0 = 00A0-F8FF
Exclusion.serif.italic.0 = 00A0-F8FF
Exclusion.serif.Bold.0 = 00A0-F8FF
Exclusion.serif.bolditalic.0 = 00A0-F8FF
Exclusion.sansserif.plain.0 = 00A0-F8FF
Exclusion.sansserif.italic.0 = 00A0-F8FF
Exclusion.sansserif.bold.0 = 00A0-F8FF
Exclusion.sansserif.bolditalic.0 = 00A0-F8FF
Exclusion.monospaced.plain.0 = 00A0-F8FF
Exclusion.monospaced.italic.0 = 00A0-F8FF
Exclusion.monospaced.bold.0 = 00A0-F8FF
Exclusion.Monospaced.bolditalic.0 = 00A0-F8FF
# Text INPUT Character Set
#
InputTextCharset = GB2312_CHARSET
2. JBuilder 2005 actually has such a font issue. For example, there is a problem with a problem, if you save it in JBuilder, the result will appear. The solution is also replaced with the above Font.Properties.en files to the above. At the same time, select "GB2312" encoding in Project-> Project Properties-> General-> Encoding, then close the project, reopen it.