Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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


 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic