-
Feb 24th, 2009, 01:16 AM
#1
setting title of dialogpage dynamically
Hello
I'm trying to alter the title of a dialog page on the fly:
protected JComponent createControl() {
JPanel view = new JPanel(new BorderLayout());
page = new FormBackedDialogPage(form);
view.add(new
JScrollPane(DialogPageUtils.createStandardView(pag e,
form.getCommitCommand(),
form.getRevertCommand())),
BorderLayout.CENTER);
...
public void onApplicationEvent(ApplicationEvent event) {
page.setTitle("new title");
...
page.setTitle has no effect on the TitlePane created by DialogPageUtils.createStandardView
Would it be possible to have a addTitleMonitor added to DialogPageUtils.createTitlePane?
BR
Carsten
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules