Added support for multiple keyboards and ability to set the preferences

for size of tibetan font and type and size of roman font.
This commit is contained in:
amontano 2003-08-09 08:00:58 +00:00
parent 8e4b508de8
commit 52cdc17794
8 changed files with 222 additions and 50 deletions

View file

@ -59,15 +59,14 @@ public class DictionaryTableModel extends AbstractTableModel
public Object getValueAt(int row, int column)
{
if (column==0)
{
if (tibetanActivated)
return arrayTibetan[row];
else
return array[row].getWylie();
switch(column)
{
case 0:
if (tibetanActivated) return arrayTibetan[row];
else return array[row].getWylie();
case 1: return array[row].getDef();
default: return array[row].toString();
}
else
return array[row].getDef();
}