Re: Problem with focus
From: Andrey Kuznetsov (spam0_at_imagero.com.invalid)
Date: 01/12/05
- Next message: ckumar: "Re: JScrolPane"
- Previous message: Andrey Kuznetsov: "Re: create an image out of a portion of a JPanel"
- In reply to: John McGrath: "Re: Problem with focus"
- Next in thread: John McGrath: "Re: Problem with focus"
- Reply: John McGrath: "Re: Problem with focus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 Jan 2005 11:22:01 +0100
>> > That was often required when using requestFocus() prior to JDK 1.4,
>> > but I do not think it has been necessary since the 1.4 focus rewrite.
>>
>> I know at least one app where it was nesessery (yes it was JDK 1.4)
>
> Can you explain the conditions under which it was necessary? Or better
> yet, provide a runnable example of this?
you can download jgui source and search for SwingUtilities.invokeLater()
however it is used not for focus issues,
but for repacking components after undocking.
-- Andrey Kuznetsov http://uio.dev.java.net Unified I/O for Java http://reader.imagero.com Java image reader http://jgui.imagero.com Java GUI components and utilities
- Next message: ckumar: "Re: JScrolPane"
- Previous message: Andrey Kuznetsov: "Re: create an image out of a portion of a JPanel"
- In reply to: John McGrath: "Re: Problem with focus"
- Next in thread: John McGrath: "Re: Problem with focus"
- Reply: John McGrath: "Re: Problem with focus"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|