• 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

Problem to show the screen

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

For example : one screen if i do action performe on one component i can open screen .After open that screen in my requirement i dont access before screen.

I have used Jframe for creation of screens.
In my code if i try to click on before screen component which i have used to open for other screen, that screen will get enable and already opend screen going back of that screen.But in my requirement that should be visible .first screen should go back.

java i cant able to find out.

If any one knows the solution please help me.

Thanks and regards
Swarna
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I understand your requirement and language correctly, what you want is a modal window. Take a look at the JDialog. JOptionPane also provides many static methods to achieve the same functionality. Typically they take the form of JOptionPane.showXXXDialog(args....). Take a look at the examples in the API.
Best of luck.
 
swarna latha
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi thanks for reply,

I coudnt give correct explanation.

Ex: I have designed one screen with the name( list). That have new button.

If i click that new button .Create(This is another class) screen will open.

Again if i click new button of list class create screen will go back of list screen.

But in my requirement if i try to click any thing in list class.create class should apear first.that wont go back.

In create class in window opened i am trying to disable the list class using that list class object.
But its not happening.

Hope now you may understand little on my problem.

If you know please suggest me on this.

Thanks and regards
K.Swarna Latha
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Like I said before take a look at JDialog and the JOptionPane API.
You will find what you want there.
reply
    Bookmark Topic Watch Topic
  • New Topic