aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Making menus and dialog appear faster Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Making menus and dialog appear faster" Watch "Making menus and dialog appear faster" New topic
Author

Making menus and dialog appear faster

Mark Herreras
Greenhorn

Joined: Dec 10, 2005
Posts: 9
Hi!

I'd like to know how to make popup menu's and dialog boxes appear faster...
Because when i first click a JMenuItem which corresponds to a dialog box, the dialog box doesn't appear immediately but then any subsequent clicks on the JMenuItem, the dialog box appears fast.

Is there any way to do this? im willing to sacrifice the start up time of the prog to do it... thanks!
Mark Herreras
Greenhorn

Joined: Dec 10, 2005
Posts: 9
oh..sorry i posted in the wrong forum.
Ken Blair
Ranch Hand

Joined: Jul 15, 2003
Posts: 1078
Are you using the same instance of the dialog or is there some shared resource that takes time to intialize the first time it's created? Performing that at startup might achieve more desirable results.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Making menus and dialog appear faster