• 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:

destroy memory of jfilechooser when open for second time the jframe

 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi everybody!!!

i have one problem.

in one jframe i have insert one jfilechooser but when i open in second time jfilechooser when i want close...don't close.

when i close jframe i want destroy memory of jfilechooser...

how to do???

for to close jframe i write:

jframe.dispose();

but don't to do nothing....

help me please!!!
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul,
Not clear what do you mean by ?

problemwhen i open in second time jfilechooser when i want close...don't close.



Can you post a working compiled code showing the issue so that you can get a better help.

 
paul beppe
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi Alan...thank's for answar..

i have understand the problem...

i haven't write:

button = new JButton("click");

don't witre the new JButton don't delete memory of old JButton...

thank's very much!!!

:-D


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic