I know and understand that for full and correct control, when doing java 1.6.0 desktop gui programming
with swing and awt both involved,
I want to add my JInternalFrame object inside a JDesktopPane, for correct management and behaviour, first.
I find that I can't use setSelected, requestFocus, grabFocus at all,
even inside AncestorListener, SwingUtilities.invokeLater, JInternalFrameListener, implementing classes
to get one particular JInternalFrame, when added and setVisible(true), to display active by default,
as though it has been clicked to set active for default, without having done so manually.
I have even resorted to doing a mouseclick event hard coded on the greyed out, non active JInternalFrame
with no respose to said click either.
How may my program click active a JInternalFrame? Can someone give me some code which has been run and
has actually execution work, in say java 1.6.0?
Edited by: Zachary1234 on Sep 13, 2012 8:07 PM
How may I click select a particular JInternalFrame, from the code level, to start with?
I have tried a click MouseEvent, and various avaliables like requestFocus, selected etc.
and find that none of them execute as expected under java 1.6.
A solution, anyone?