Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / March 2005

Tip: Looking for answers? Try searching our database.

JInternalFrame query

Thread view: 
Konstantin Radoslavov - 28 Mar 2005 15:51 GMT
Hi,
I am developing a program where I use JInternalFrame(s). In each of the
JInternalFrame(s) I have a text field that is updated every now and then.
If the JInternalFrame is minimized, is there a way to make the iconized
JInternalFrame blink when its contents is changed?

Thanks in advance
Koko
Uwe Ziegenhagen - 29 Mar 2005 12:13 GMT
> Hi,
> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 4 lines]
> Thanks in advance
> Koko

One untested idea: Try to activate or deactivate it cyclically.

Uwe

Signature

mail to newsgroup@ziegenhagen.info is read only from time to time. If
you need an urgent answer, google for me.

Konstantin Radoslavov - 30 Mar 2005 11:38 GMT
Hi,
I tried that but still no result.

Thanks
Koko
Rogan Dawes - 30 Mar 2005 13:31 GMT
> Hi,
> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 4 lines]
> Thanks in advance
> Koko

I'd say that you should take a look at the DesktopManager interface, and
the Default implementation. A couple of things come to mind:

1. If you have maximized JInternalFrames, flashing the icon is not going
to make any difference, because it won't be visible. Similarly if you
have JInternalFrames arranged on top of the icons, even if they are not
maximised.

2. You may want to consider implementing a "task bar"-like
DesktopManager, (maybe even a JToolBar?) which prevents the windows from
maximising to cover the task bar. You could implement a JButton in the
taskBar to activate/iconify each of the JInternalFrames. Since you are
controlling the JToolBar and the buttons yourself, it would be a simple
matter to change the colour of the button to make it flash.

3. For the above to work properly, you'd have to prevent the iconified
JInternalFrames from being shown on the JDesktopPane. The DesktopManager
class might help you here.

Regards,

Rogan
Signature

Rogan Dawes

*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"

Rogan Dawes - 30 Mar 2005 13:58 GMT
>> Hi,
>> I am developing a program where I use JInternalFrame(s). In each of the
[quoted text clipped - 27 lines]
>
> Rogan

Alternatively, you might want to try playing with the
set/getDesktopIcon() methods. By "inverting" and "reverting" the
background and foreground colours of this Component, you should be able
to make it flash, I think.

Note that the docs suggest that you should not depend on this API, as it
should be subsumed into JInternalFrame eventually . . .

Rogan
Signature

Rogan Dawes

*ALL* messages to discard@dawes.za.net will be dropped, and added
to my blacklist. Please respond to "nntp AT dawes DOT za DOT net"



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.