Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-29-2006, 06:47 AM   #1
Registered: Nov 2005
Location: Mauritius
Distribution: PCQLinux, SUSE Linux,Fedora Core 5, Fedora Core 6, Knoppix Live, Kubuntu Edgy, PCLinuxOS
Posts: 167

Rep: Reputation: 30
Find a Visible JFrame in a java application

Hi, i wanted to know if there was a way to be able to get any visible jframe in a java application so as it can be used for modal dialogs etc... eg. A program may be having many JFrames and Modal JFrames are loaded from specific Parent JFrames but there is the case where a class does not have a specified parent JFrame which it will use to open a Modal JFrame. Thus if there was a way to get any visible JFrame in the application and use it for that purpose it would be great! For the time being there is a JFrame that is open most of the time and its the MainMenu, However it may happen that the MainMenu is not visible. Then i must be able to use any other JFrame open!


java, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
java JFrame sizes. byteframe Programming 8 10-25-2005 03:09 AM
application/x-java-vm matarodi Debian 5 03-09-2005 05:10 AM
(jwstric2) JFrame error on JAVA nedian123 Programming 2 07-02-2004 06:10 AM
JAVA : cannot find class JFrame? OmniXBro Programming 11 06-04-2004 03:53 AM
1. shell script "find and replace" on text 2. java GUI application randomx Programming 4 03-05-2004 02:01 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration