• Post Reply Bookmark Topic Watch Topic
  • New Topic

Again Internal Frames(URGENT)

 
Chhaya Dhanani
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi once again
i want to know how can i get a reference to the current active JInternal frame in a desktop pane and close it on click of on a button
is there a method which let me do so?
please reply this is urgent
Thanx a million
Chhaya
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At the best of times, in the middle of the day, less than 6 hours is pushing it...
but.. it's 1 am on this side of the world. (North America)

Don't expect a whole bunch of answers that quickly at this time of the day.
[This message has been edited by Mike Curwen (edited June 04, 2001).]
 
Laurent Leonard
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JDesktopPane dp = new ...
JInternalFrame if = dp.getSelectedFrame();
Try to look sometimes in the Java docs.
Sometimes it is usefull !!!

------------------
Laurent Leonard
Laurent.Leonard@belgique.com
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!