public String getImageWidth() { return imageWidth; }
public String getImageHeight() { return imageHeight; }
public File browseForImage()
{
ImageFileChooser jImageDialog = new ImageFileChooser(imageDir);
jImageDialog.setDialogType(JFileChooser.CUSTOM_DIALOG);
jImageDialog.setFileFilter(new MutableFilter(imageExts, imageDesc));
jImageDialog.setDialogTitle(Translatrix.getTranslationString("ImageDialogTitle"));
int optionSelected = JFileChooser.CANCEL_OPTION;
optionSelected = jImageDialog.showDialog(this, Translatrix.getTranslationString("Insert"));
if(optionSelected == JFileChooser.APPROVE_OPTION)
{
return jImageDialog.getSelectedFile();
}
return (File)null;
}