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 / November 2006

Tip: Looking for answers? Try searching our database.

swingworker & jframes

Thread view: 
Timasmith - 15 Nov 2006 13:15 GMT
Hi,

I am trying to use swing worker to increase the responsiveness of the
app.

On the main page when the user clicks on a tree node I open a new
frame.

The processing time of creating that new frame is quite intermingled so
it is easiest if I do this:

on select
   start swingworker
        open form
   end swingworker
done

It does work after a fashion - the frame opens fine, the tree is
responsive.  But the new frame is now sitting 'behind'  the initial
frame.  It should be at the front but something is pushing it behind.

Anyone experienced this or can guess?

thanks
Timasmith - 15 Nov 2006 13:43 GMT
> Hi,
>
[quoted text clipped - 20 lines]
>
> thanks

never mind my SwingWorker had  a requestFocus() that was causing it.


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.