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.

Answers


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


Need Your Help

JavaCompiler not compiling files properly

java javac java-compiler-api

I am trying to get used to the JavaCompiler and trying to compile programs with it, I can successfully compile programs that comprises of single file but when im trying to compile projects with mul...

WPF binding to a UserControl property

c# wpf xaml binding

I have a list of items, each of which contains a display property of a type inheriting from a user control. The idea is each inheriting class can decide for itself what it wants to display for the...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.