Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem to show the screen

 
swarna latha
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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
  • 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
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic