Fixed to accomodate one of the constructors that disappeared from PageUI.

This commit is contained in:
grail%cafebabe.org 1999-06-21 09:54:08 +00:00
parent 1ada005a95
commit d95f90a62a

View File

@ -101,9 +101,14 @@ public class EditHostDialog extends GeneralDialog {
setModal(true);
model = new EditHostModel(aURL);
XMLPageBuilder builder = new XMLPageBuilder("id", "editHost", model);
URL url = getClass().getResource("dialogs.xml");
fPanel = new PageUI(url, "id", "editHost", model);
try {
fPanel = (PageUI)builder.buildFrom(url.openStream());
} catch (Exception e) {
return;
}
JOptionPane actionPanel = new JOptionPane(fPanel,
JOptionPane.PLAIN_MESSAGE,