Skip to main content

[JAVA2D] JInternalFrame

1 reply [Last post]
Anonymous

Hello

I wrote an application with a JDesktopPane and for the time being one
JInternalFrame.

When I run the application, I can see that JInternalFrame has not the
focus even after
JInternalFrame.setSelected (true);
JDesktopPane.setSelectedFrame (JInternalFrame);

How can I do to get JinternalFrame selected without clicked on it ?
Windows XP; jdk 1.5; netbeans IDE 4.0

merci beaucoup

Claude

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Nidel, Mike

Bonjour Claude,

The Java2D discussion group is more intended for questions regarding graphics, printing etc. but not really for Swing.

I think you will have better luck finding an answer for Swing questions here:

http://www.javadesktop.org/forums/forum.jspa?forumID=2

amicalement,

Mike Nidel

> -----Original Message-----
> From: Discussion list for Java 2D API
> [mailto:JAVA2D-INTEREST@JAVA.SUN.COM]On Behalf Of Claude Stéphan
> Sent: Monday, February 07, 2005 5:13 AM
> To: JAVA2D-INTEREST@JAVA.SUN.COM
> Subject: [JAVA2D] JInternalFrame
>
>
> Hello
>
> I wrote an application with a JDesktopPane and for the time being one
> JInternalFrame.
>
> When I run the application, I can see that JInternalFrame has not the
> focus even after
> JInternalFrame.setSelected (true);
> JDesktopPane.setSelectedFrame (JInternalFrame);
>
> How can I do to get JinternalFrame selected without clicked on it ?
> Windows XP; jdk 1.5; netbeans IDE 4.0
>
> merci beaucoup
>
> Claude
>
> ==============================================================
> =============
> To unsubscribe, send email to listserv@java.sun.com and
> include in the body
> of the message "signoff JAVA2D-INTEREST". For general help,
> send email to
> listserv@java.sun.com and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".