• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Reclaiming resources from a JFrame

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'd like to reclaim the resources from a splash screen that is programmatically opened and closed in the constructor of the main frame while the components are instantiated for the main frame. Is it appropriate to call .dispose() on the splash frame after the .setVisible(false) method in order to reclaim the resources from this frame or does it lose scope once the constructor is completed allowing the memory to be reclaimed?

Also, how can you prevent a splash screen frame from showing up in the Windows taskbar?

Thanks!
-Chris
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here is a possible solution to your second question.
JDialog does not show in the task bar.


[ September 28, 2005: Message edited by: Stephen Boston ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic