1. Dictionary support in Jskad
2. Local fonts from the .jar file are used if TWM fonts not available on the system 3. Bug fix - SWING not rendering font correctly
This commit is contained in:
parent
ced3767335
commit
592d1d6870
5 changed files with 823 additions and 21 deletions
|
@ -799,9 +799,9 @@ public class Jskad extends JPanel implements DocumentListener {
|
|||
/* Initialize dp before calling
|
||||
JskadKeyboard.activate(DuffPane) or dp.toggleLanguage(). */
|
||||
if (ThdlOptions.getBooleanOption(Jskad.enableKeypressStatusProp)) {
|
||||
dp = new DuffPane(statusBar);
|
||||
dp = new DuffPane(parentObject, statusBar);
|
||||
} else {
|
||||
dp = new DuffPane();
|
||||
dp = new DuffPane(parentObject);
|
||||
}
|
||||
|
||||
|
||||
|
@ -926,6 +926,8 @@ public class Jskad extends JPanel implements DocumentListener {
|
|||
add("Center", scrollingDuffPane);
|
||||
if (statusBar != null)
|
||||
add("South", statusBar);
|
||||
|
||||
dp.postInitialize ( this ) ;
|
||||
}
|
||||
|
||||
private void newFile() {
|
||||
|
@ -1323,7 +1325,7 @@ public class Jskad extends JPanel implements DocumentListener {
|
|||
try {
|
||||
BufferedReader in = new BufferedReader(new FileReader(txt_fileChosen));
|
||||
// FIXME: why do we need a whole DuffPane to do this?
|
||||
DuffPane dp2 = new DuffPane();
|
||||
DuffPane dp2 = new DuffPane( parentObject );
|
||||
|
||||
try {
|
||||
String val = in.readLine();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue