mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
Fixed to accomodate one of the constructors that disappeared from PageUI.
This commit is contained in:
parent
1ada005a95
commit
d95f90a62a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user