Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Which JComponent should i use for this??  RSS feed

 
Mahajan Bhupendra
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
i am working on one problem which is having a need that..
after clicking on the button one small window should popup
asking for some data (by the time he shouldn't be able to
work with background window) he could cancel the small window
or feed the data..
here i want something like prompt(" ","") in Javascript..
i tried JInternalFrames but i don't know i am not able to position it at appropriate place..
could u help me out??
Bhupendra Mahajan
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are looking for a modal JDialog.
 
Mahajan Bhupendra
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanx Paul
it worked ...
thanku very much..
i solved the same with JIntenal frame also..
but i thik Dilog is simple option for that..
Bhupendra Mahajan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!