wood burning stoves 2.0*
The moose likes JSF and the fly likes Rebuilding contents in a custom Dialog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Rebuilding contents in a custom Dialog" Watch "Rebuilding contents in a custom Dialog" New topic
Author

Rebuilding contents in a custom Dialog

Nicolai Krog
Greenhorn

Joined: Feb 18, 2006
Posts: 3
Hi - I just signed up here, hope I am welcome to ask a question

I am building a custom Dialog for a JFace/SWT application. For this dialog I need a button that updates all the content of the dialog.

My dialog has (of course) an implementation of the method createDialogArea(Composite parent), and since this method contains all logic neccesary to rebuild the dialog, I would like to just call it again from my update-button listener.

In my listener on the update button I have tried:

createDialogArea(super.getShell())

or

createContents(super.getShell())

But nothing happens....

What is the right approach

Best regards,

Nicolai
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Welcome to Javaranch!

This forum is for JSF (Java Server Faces) questions. I'll move this to the Swing/AWT/SWT/JFace forum for you.


GenRocket - Experts at Building Test Data
 
GeeCON Prague 2014
 
subject: Rebuilding contents in a custom Dialog