Code cleanup for Jskad's Tibetan font converter GUI.

This commit is contained in:
dchandler 2003-08-30 05:01:15 +00:00
parent 896344f2d1
commit dd22e161a5
3 changed files with 25 additions and 30 deletions

View file

@ -174,27 +174,16 @@ public class ConverterGUI implements FontConversion, FontConverterConstants {
returnCode = 0;
try {
final ConvertDialog convDialog;
String[] choices = new String[]{
ACIP_TO_UNI,
TM_TO_TMW,
TMW_TO_UNI,
TMW_TO_WYLIE,
TMW_TO_TM,
FIND_SOME_NON_TMW,
FIND_SOME_NON_TM,
FIND_ALL_NON_TMW,
FIND_ALL_NON_TM
};
if (null == owner) {
convDialog
= new ConvertDialog(new ConverterGUI(),
choices,
CHOICES,
true);
} else {
convDialog
= new ConvertDialog(owner,
new ConverterGUI(),
choices,
CHOICES,
true);
}