我试图访问我的JDesktopPane中的JInternalFrame并使用getAllFrames方法。 我只想按照我添加到JDesktopPane中的顺序访问JInternalFrame。 例如i加一,B,C frames[0] contain a
frames[1] contain b
frames[2] contain c
但是我发现,在阵列中的内容将在我改变我的选择的情况下发生变
其实我想告诉JInternalFrame的在JDesktopPane中的中心,我用这个梅索德正如我在Jframes使用它,但它没有工作: Extraction ex=new Extraction();//Extraction is the name of the JintenalFrame jDesktopPane1.add(ex); ex.setLocationRelativeTo(this);
我有一个简单的(不是?)问题,在处理JTable之后重点关注JInternalFrame。 //I created a table, set it to visible, gave it focus.
list.dispose(); //I did what I wanted with the table and I dispose of it
screen.setVisible(true);