Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
Garbage Collection
Kaustubh Bansal
Greenhorn
Posts: 3
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Is it possible for an unreferenced object to be in use?
JFrame frame = new JFrame(); JButton b = new JButton("Hello"); frame.getContentPane().add(b);
In this code, we are adding a button to a content pane to a frame. Is this content pane eligible for garbage collection?
Campbell Ritchie
Marshal
Posts: 79178
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Kaustubh Bansal wrote:
Is it possible for an unreferenced object to be in use?
Read your question very very carefully . . .
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
trying to creat JFrame with buttons
How to Add Scroll bars to a frame
Component on Image
JTabbedPane
How to add scrollbar
More...