This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rebuilding contents in a custom Dialog  RSS feed

 
Nicolai Krog
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!