• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

SWT n Jface

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have a created a wizard using Jface. One clicking on one of the buttons in the contents area(it is not the buttonBar button like NEXT etc), I display a TitleAreaDialog. Now my problem is that:

a.) For this TitleAreaDialog I have created a new Shell, is it okay for me to create a new Shell for this Dialog or I have a better option?

b.) I want that clicking on one button of the above mentioned TitleAreaDialog should display another TitleAreaDialog on top of it, is it possible to have one Dialog displayed over another? I dont think so but what other way can I do it?

Regards,
Neha
 
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Neha

With respect to your option b,

Yes you can have Dialog box over another dialog box. As i m using a JDialog as my front hand, and onclicking Delete button it confirm whether you want to delete transation or not. If i say "YES" then transaction is deleted.

Hope this would help you out.
 
Anand Karia
Ranch Hand
Posts: 158
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here is test form for your option b. Compile and run it


reply
    Bookmark Topic Watch Topic
  • New Topic