Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open a jInternalFrame from another jInternalFrame under a MDI Applic

843806Aug 30 2007 — edited Sep 2 2007
Hi,

I have several forms under my MDI application. I'm able to open those forms from MDI menu bar using following code
    private void miUpdate_accountsActionPerformed(java.awt.event.ActionEvent evt) {                                                  
        UpdateAccount updateaccount = new UpdateAccount();
        updateaccount.setVisible(true);
        desktopPane.add(updateaccount);
    }
but I'm unable to use this code the same way to open these from one another.

for example I have a form which lists all the rates, then I wann click on one rate and open another form where I can edit that rate. The forms are there working fine, but How to open one internalFrame from another?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2007
Added on Aug 30 2007
9 comments
373 views