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 / General / August 2007

Tip: Looking for answers? Try searching our database.

How to maximize or revert a java jframe after I has minimized it?

Thread view: 
JTL.zheng - 20 Aug 2007 16:16 GMT
In windwos, after I click the minimize button on the jframe, it will
disappear and go into the task bar.
how can I make it automaticly revert or maximize to show up after 5
seconds.

Thank you very much in advance.
Jeff Higgins - 20 Aug 2007 18:28 GMT
> In windwos, after I click the minimize button on the jframe, it will
> disappear and go into the task bar.
> how can I make it automaticly revert or maximize to show up after 5
> seconds.

<http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener.html>
<http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html>
JTL.zheng - 22 Aug 2007 05:21 GMT
> > In windwos, after I click the minimize button on the jframe, it will
> > disappear and go into the task bar.
[quoted text clipped - 3 lines]
> <http://java.sun.com/docs/books/tutorial/uiswing/events/windowlistener...>
> <http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html>

Thank you.. It works.. : )
Jeff Higgins - 22 Aug 2007 13:02 GMT
> On Aug 21, 1:28 am, "Jeff Higgins" <oohigg...@yahoo.com> wrote:
>> > In windwos, after I click the minimize button on the jframe, it will
[quoted text clipped - 6 lines]
>
> Thank you.. It works.. : )

I'm happy you found your answer.
Just out of curiosity, why you need this functionality?
I think I would be troubled if I minimised a JFrame
and five seconds later it sprouted anew without
instruction from me.
Thanks,
Jeff Higgins
JTL.zheng - 23 Aug 2007 05:15 GMT
> >> > In windwos, after I click the minimize button on the jframe, it will
> >> > disappear and go into the task bar.
[quoted text clipped - 13 lines]
> Thanks,
> Jeff Higgins

actually it pops up every half a hour
it is designed to notice me to take a rest after sitting in front of
the computer every 30 minutes.
it is finished now.  if you are interesting I can send it to you
Jeff Higgins - 23 Aug 2007 13:09 GMT
>> >> > In windwos, after I click the minimize button on the jframe, it will
>> >> > disappear and go into the task bar.
[quoted text clipped - 11 lines]
> it is designed to notice me to take a rest after sitting in front of
> the computer every 30 minutes.

Actually that's kinda neat.

> it is finished now.  if you are interesting I can send it to you

No, but thanks. Sounds like a simple project that I'd like to
attempt to implement myself. Maybe I'll try to make
it display some random quotation or photo or puzzle,
or tip o'day or some such.
Thanks,
JH
JTL.zheng - 23 Aug 2007 17:32 GMT
> >> >> > In windwos, after I click the minimize button on the jframe, it will
> >> >> > disappear and go into the task bar.
[quoted text clipped - 22 lines]
> Thanks,
> JH

and later I have tried the JDK1.6, it can minimize my app into the
system tray so I will not see it when it is counting  the time.
: )
Jeff Higgins - 23 Aug 2007 18:02 GMT
Maybe I'll try to make
>> it display some random quotation or photo or puzzle,
>> or tip o'day or some such.
[quoted text clipped - 4 lines]
> system tray so I will not see it when it is counting  the time.
> : )

Ah, a great tip o'day for my collection, thanks. :-)
--
JH, Or&Ot.
"Grace sees the beauty in everything." U2
JTL.zheng - 25 Aug 2007 03:04 GMT
> Maybe I'll try to make
>
[quoted text clipped - 11 lines]
> JH, Or&Ot.
> "Grace sees the beauty in everything." U2

: )


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.