• Post Reply Bookmark Topic Watch Topic
  • New Topic

Reclaiming resources from a JFrame

 
Chris Simpkins
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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
 
Stephen Boston
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • 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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!