The cursor problem in JBuilder is not a problem with Borland, but should be the trouble left by Sun. Let me know that I18N issues are mainly distinguished by the operating system through Locale (Window2000 or XP on Window2000 or XP through "Region and Language Options" on the user's work area and using language. Documents to implement the software package to internationalize. Specifically, JBuilder implements support for Chinese fonts by using JRE's Font.Properties.en. The problem is on the font.properties.en provided in Sun. Sun is used in the normal body, bold and slope of various fonts in this document. We know that in the editor, the width of the normal body and bold or obliquely occupied is different. Therefore, Bold and normal body (plain) uses normal experience that causes the editor to calculate errors on bold character width, which we understand the cause of the problem. Interestingly, Sun has the correct difference between the font attribute documents of English. (It seems to be deliberate ?!) Compare font.properties and font.properties.zh files, you can understand the problem. ========== # Component font mappings # Dialog.Plain.0 = arial, ANSI_CHARSETDIALOG.BOLD.0 = Arial Bold, ANSI_CharsetDialog.italic.0 = arial italic, ANSI_CHARSET, PLAIN Body XXX should be used, Bold should use XXX Bold, ITALIC should use xxx italic. It is very easy to understand the roots of the problem. It is very easy to find a solution to the problem. Replace the corresponding component font mappings in Font.Properties.en to the bottom.
# Component Font Mappings # dialog.plain.0 = Arial, ANSI_CHARSETdialog.plain.1 = / u5b8b / u4f53, GB2312_CHARSETdialog.plain.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialog.plain.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialog.bold.0 = Arial Bold, ANSI_CHARSETdialog.bold.1 = / u5b8b / u4f53, GB2312_CHARSETdialog.bold.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialog.bold.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialog.italic.0 = Arial Italic, ANSI_CHARSETdialog.italic.1 = / u5b8b / u4f53, GB2312_CHARSETdialog.italic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialog.italic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialog.bolditalic.0 = Arial Bold Italic, ANSI_CHARSETdialog.bolditalic.1 = / u5b8b / u4f53, GB2312_CHARSETdialog.bolditalic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialog.bolditalic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.plain.0 = Courier New, ANSI_CHARSETdialoginput.plain.1 = / u5b8b / u4f53, GB2312_CHARSETdialoginput.plain.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.plain.3 = Symbol, Symbol_Charset, NEED_CONVERTEDDIAL oginput.bold.0 = Courier New Bold, ANSI_CHARSETdialoginput.bold.1 = / u5b8b / u4f53, GB2312_CHARSETdialoginput.bold.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.bold.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.italic.0 = Courier New Italic , ANSI_CHARSETdialoginput.italic.1 = / u5b8b / u4f53, GB2312_CHARSETdialoginput.italic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.italic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDdialoginput.bolditalic.0 = Courier New Bold Italic, ANSI_CHARSETdialoginput.bolditalic.1 = / U5B8B / U4F53, GB2312_CharsetDialoginput.bolditalic.2 = Wingdings, Symbol_Charset, Need_convertedDialoginput.bolditalic.3 =
Symbol, SYMBOL_CHARSET, NEED_CONVERTEDserif.plain.0 = Times New Roman, ANSI_CHARSETserif.plain.1 = / u5b8b / u4f53, GB2312_CHARSETserif.plain.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDserif.plain.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDserif.bold.0 = Times New Roman Bold, ANSI_CHARSETserif.bold.1 = / u5b8b / u4f53, GB2312_CHARSETserif.bold.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDserif.bold.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDserif.italic.0 = Times New Roman Italic, ANSI_CHARSETserif. italic.1 = / u5b8b / u4f53, GB2312_CHARSETserif.italic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDserif.italic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDserif.bolditalic.0 = Times New Roman Bold Italic, ANSI_CHARSETserif.bolditalic.1 = / u5b8b / u4f53, GB2312_CHARSETserif.bolditalic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDserif.bolditalic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDsansserif.plain.0 = Arial, ANSI_CHARSETsansserif.plain.1 = / u5b8b / u4f53, GB2312_CHARSETsansserif.plain.2 = WingDings, SYMBOL_CHARSET , NEED_CONVERTEDsansserif.plain.3 = Symbol, Symbol_Chars T, NEED_CONVERTEDsansserif.bold.0 = Arial Bold, ANSI_CHARSETsansserif.bold.1 = / u5b8b / u4f53, GB2312_CHARSETsansserif.bold.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDsansserif.bold.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDsansserif.italic.0 = Arial Italic , ANSI_CHARSETsansserif.italic.1 = / u5b8b / u4f53, GB2312_CHARSETsansserif.italic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDsansserif.italic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTEDsansserif.bolditalic.0 = Arial Bold Italic, ANSI_CHARSETsansserif.bolditalic.1 = / u5b8b /u4f53, agb2312_charsetscerif.bolditalic.2=wingdings ,symbol_charset ,need_convertedsserif.bolditalic.3=