Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #261

Re: How Do I Make My Appl

From "steve" <steve@THRWHITE.remove-dii-this>
Subject Re: How Do I Make My Appl
Message-ID <ekl0si02ggs@news1.newsguy.com> (permalink)
Newsgroups comp.lang.java.gui
References <1164832296.233748.5580@j44g2000cwa.googlegroups.com>
Date 2011-04-27 15:26 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui
On Thu, 30 Nov 2006 04:31:36 +0800, Jason Cavett wrote
(in article <1164832296.233748.5580@j44g2000cwa.googlegroups.com>):

> I'm currently designign a GUI and, while it's going pretty well, I've
> noticed when I do something like open an document using the GUI, the
> drop down menu (File > Open) that I've created doesn't immediately
> disappear.  It seems to hang there for a moment and refreshes after the
> document is starting to open.  This happens with other things as well.
> 
> I tried turning on Swing's built in double-buffering on the menus, but
> that doesn't seem to help any.  I have also searched around on the web
> to see if there was any information on how to fix this problem.
> 
> Basically, I'm wondering - how do I make my app "feel" faster so user's
> don't get the impression that the application is lagging (even though
> it really isn't).
> 
> 
> Thanks
> 

your on the wrong thread!!.

instead of  jumping to your subroutine, when you detect the menu selection, 
fire up another thread to process your subroutine and exit from the menu 
selection code, straight away.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How Do I Make My Applicat "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How Do I Make My Appl "david" <david@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How Do I Make My Appl "Steve W. Jackson" <steve.w..jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
    Re: How Do I Make My Appl "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
      Re: How Do I Make My Appl "Steve W. Jackson" <steve.w..jackson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
        Re: How Do I Make My Appl "Jason Cavett" <jason.cavett@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How Do I Make My Appl "steve" <steve@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How Do I Make My Appl "Timasmith" <timasmith@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000
  Re: How Do I Make My Appl "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:26 +0000

csiph-web