my dog learned polymorphism
The moose likes Swing / AWT / SWT 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 » Swing / AWT / SWT
Bookmark "Rebuilding contents in a custom Dialog" Watch "Rebuilding contents in a custom Dialog" New topic

Rebuilding contents in a custom Dialog

Nicolai Krog

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:




But nothing happens....

What is the right approach

Best regards,

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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
I agree. Here's the link:
subject: Rebuilding contents in a custom Dialog
It's not a secret anymore!