ordinarydot
ordinarydot

Reputation: 147

Keep focus of JInternalFrame

Is there any way to keeps focus of a JInternalFrame, I mean, always focused until it closed or showVisible(false) etc? I already search for a while but I only found a "temporary" focus, that is when you click another JInternalFrame (for example) the focus switched. Thanks.

Upvotes: 1

Views: 919

Answers (2)

Mr. Zen
Mr. Zen

Reputation: 712

Closing a modal JInternalFrame See the one by me (Mr. Zen)

Upvotes: 1

camickr
camickr

Reputation: 324108

Don't use a JInternalFrame for this. Use a modal JDialog.

Upvotes: 3

Related Questions