JBuilder cursor problem solutions Everyone often says that there is a problem with the cursor misalignment in the Chinese system, which is considered to be a bug of JBuilder. In fact, this is really jetful! Everyone discussed the solution without more than two:
1. Change the font of the editor to the Song, with this method, is that the English font under the Song is really ugly, reading is not pleasant;
2, it is to remove the bold attributes of the editor font, which also affects the readability of the code.
In fact, the problem that caused JBuilder cursor misplaced problems is not Borland's mistake, but the sins of Java's master - SUN! Everyone must know I18n? In different locale, the JDK automatically calls the corresponding Properties file, and in the JDK, there is a problem with the Properties file corresponding to the Chinese system, and there is no difference in the English font, thick. Body and oblique, resulting in the above problems, the solution is simple, as long as this Properties file is modified correctly, the modification method is as follows: Find the font.properties.en file in the jre / lib directory, edit this Documents and modified as follows:
# @ (#) font.properties.zh1.16 00/10/06 ## AWT Font Default Properties for Chinese windows #
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_CONVERTED
dialog.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_CONVERTED
Dialog.italic.0 = arial italic, ANSI_CharsetDialog.italic.1 = / U5B8B / U4F53, GB2312_CharsetDialog.italic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Dialog.italic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
dialog.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_CONVERTED
dialoginput.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_CONVERTEDdialoginput.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_CONVERTED
dialoginput.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_CONVERTED
dialoginput.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_CONVERTED
serif.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_CONVERTED
serif.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_CONVERTED
serif.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_CONVERTED
Serif.Bolditalic.0 = Times New Roman Bold italic, ANSI_CHARSET
serif.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_CHARSETSSSERIF.PLAIN.2 = WINGDINGS, SYMBOL_CHARSET, NEED_CONVERTEDSSSERIF.PLAIN.3 = SYMBOL, SYMBOL_CHARSET, NEED_CONVERTED
sansserif.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_CONVERTED
sansserif.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_CONVERTED
Sansserif.bolditalic.0 = arial bold italic, ANSI_CHARSETSSSERIF.BOLDITALICIC.1 = / U5B8B / U4F53, GB2312_Charsetsserif.Bolditalic.2 = Wingdings, Symbol_Charset, NEED_CONVERTED
Sansserif.Bolditalic.3 = Symbol, Symbol_Charset, NEED_CONVERTED
monospaced.plain.0 = Courier New, GB2312_CHARSETmonospaced.plain.1 = / u5b8b / u4f53, GB2312_CHARSETmonospaced.plain.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDmonospaced.plain.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTED
monospaced.bold.0 = Courier New Bold, GB2312_CHARSETmonospaced.bold.1 = / u5b8b / u4f53, GB2312_CHARSETmonospaced.bold.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDmonospaced.bold.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTED
monospaced.italic.0 = Courier New Italic, GB2312_CHARSETmonospaced.italic.1 = / u5b8b / u4f53, GB2312_CHARSETmonospaced.italic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDmonospaced.italic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTED
monospaced.bolditalic.0 = Courier New Bold Italic, GB2312_CHARSETmonospaced.bolditalic.1 = / u5b8b / u4f53, GB2312_CHARSETmonospaced.bolditalic.2 = WingDings, SYMBOL_CHARSET, NEED_CONVERTEDmonospaced.bolditalic.3 = Symbol, SYMBOL_CHARSET, NEED_CONVERTED # name aliases ## alias. Timeesroman = serif # alias.helvetica = Sansserif # alias.courier = monospaced
# for backward compatibility # TimeSroman.0 = Times new Roman, ANSI_CHARSET # Helvetica.0 = arial, ANSI_CHARSET # Courier.0 = Courier New, Ansi_CharsetzaPfdingBats.0 = Wingdings, Symbol_Charset
# font filenames for reduced Initialization Time # filename. / u5b8b / u4f53 = simsun.ttf
Filename.Arial = arial.ttffilename.Arial_Bold = arialbd.ttffilename.Arial_italic = ariali.ttffilename.Arial_bold_italic = arialbi.ttf
FILENAME.COURIER_NEW = COUR.TTF
FILENAME.COURIER_NEW_BOLD = court.ttffilename.courier_new_italic = couri.ttffilename.courier_new_bold_italic = courti.ttf
FILENAME.TIMES_NEW_ROMAN = TIMES.TTFFILENAME.TIMES_NEW_ROMAN_BOLD = TIMESBD.TTTFFILENAME.TIMES_NEW_ROMAN_ITALIC = Timesi.ttffilename.TIMES_NEW_ROMAN_BOLD_ITALIC = TIMESBI.TTF
FILENAME.WINGDINGS = WINGDING.TTFFILENAME.SYMBOL = Symbol.ttf
# Default font definition # default.char = 2751
# Static fontcharset info. ## fontcharset.dialog.0 = sun.io.chartobytecp1252fontcharset.dialog.1 = sun.io.Chartobytegbkfontcharset.dialog.2 = sun.awt.windows.Chartobytewings
Fontcharset.dialog.3 = sun.awt.chartobytesymbol
# Fontcharset.dialoginput.0 = sun.io.CharToByteCp1252fontcharset.dialoginput.1 = sun.io.CharToByteGBKfontcharset.dialoginput.2 = sun.awt.windows.CharToByteWingDingsfontcharset.dialoginput.3 = sun.awt.CharToByteSymbol
# Fontcharset.serif.0 = sun.io.CharToByteCp1252fontcharset.serif.1 = sun.io.CharToByteGBKfontcharset.serif.2 = sun.awt.windows.CharToByteWingDingsfontcharset.serif.3 = sun.awt.CharToByteSymbol # fontcharset.sansserif.0 = sun.io.CharToByteCp1252fontcharset.sansserif.1 = sun.io.CharToByteGBKfontcharset.sansserif.2 = sun.awt.windows.CharToByteWingDingsfontcharset.sansserif.3 = sun.awt.CharToByteSymbol
# Fontcharset.monospaced.0 = sun.io.CharToByteCp1252fontcharset.monospaced.1 = sun.io.CharToByteGBKfontcharset.monospaced.2 = sun.awt.windows.CharToByteWingDingsfontcharset.monospaced.3 = sun.awt.CharToByteSymbol
# Exclusion Range Info. # Exclusion.dialog.Plain.0 = 00A0-F8ffExClusion.dialog.italic.0 = 00A0-F8ffExClusion.Dialog.Bold.0 = 00A0-F8ffExClusion.Dialog.bolditalic.0 = 00A0-F8FF
Exclusion.dialoginput.Plain.0 = 00A0-F8ffExClusion.dialoginput.italic.0 = 00A0-f8ffExClusion.dialoginput.bold.0 = 00A0-F8ffExClusion.dialoginput.bolditalic.0 = 00A0-F8FF
Exclusion.serif.plain.0 = 00A0-f8ffExclusion.serif.italic.0 = 00A0-F8ffExClusion.serif.Bold.0 = 00A0-F8FFEXClusion.serif.Bolditalic.0 = 00A0-F8FF
Exclusion.sansserif.plain.0 = 00A0-f8ffExclusion.sansserif.ITalic.0 = 00A0-F8ffExClusion.sansserif.bold.0 = 00A0-F8ffExClusion.sansserif.bolditalic.0 = 00A0-F8FF
Exclusion.monospaced.bold.0 = 00a0-f8ffExClusion.Monospaced.Bold.0 = 00A0-F8ffExClusion.monospaced.bolditalic.0 = 00A0-F8FF
# charset for text input # inputtextcharset = GB2312_CHARSET
After saving, everything is solved!
This method is also applicable to any of the same issues.
[Questional out] This error should really reflect, I hope that what they do will be better in the future.