1. How I can selected by default an InternalFrame on a JDesktopPane? stackoverflow.comI have a JFrame with the JDesktopPane and inside the JDesktopPane, I launch with the constructor a JInternalFrame. (Its a app like the authentification users, with the textbox user and textbox ... |
2. JInternalFrame selection stackoverflow.comI have a JDesktopPane containing some JInternalFrames. I want some menus on the menubar to be activated only when one of the JInternalFrames is selected. I've tried using VetoableChangeListener, with the ... |
3. listening to Internal frame selection coderanch.com |
4. Opening JInternalFrame on JMenu selection coderanch.comworked OK for me, in a simple demo program. setAccelerator seems to work OK when the menuItem is added directly to the menuBar (leaving setMnemonic to show the underlined shortcut key) import javax.swing.*; import java.awt.*; import java.awt.event.*; class Testing { JDesktopPane desktop = new JDesktopPane(); int counter = 1; int x = 0, y = 0; public void buildGUI() { JMenu ... |
5. JInternalFrame once selected again doesn't maintain the previous size forums.oracle.comhi, I have a jdesktopPane in which I can open several jinternalFrame and any JinternalFrame has a DisplayJai pane with a PlanarImage. the image and the displayjai pane are resized when the internal frame changes dimension. I have opened more than one internalframe with different size, and I don't change the dimension of any opened jinternalframe, if I select the jinternalFrame ... |
6. Selection JInternalFrame forums.oracle.comHello Everyone, Here is my issue: I have two JInternalFrames that are added to a JSplitPane. When the applications runs, both of the internalframes are deselected, but if I click on them they become selected, obviosly. What I want to do is to have them selected before the applications starts, I have already tried the following possibilites: internalFrame.setSelected(true); internalFrame.requestFocus(); internalFrame.grabFocus(); internalFrame.requestFocusInWindow(); ... |