Solved

Free an object or component in java

Posted on 2011-03-15
2
297 Views
Last Modified: 2012-05-11
hi all,

in c++ when we try to free an component we use button.free in Delphi button.free in C# button.dispose but how a can free a button by example in java.
0
Comment
Question by:MKItani
2 Comments
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 175 total points
ID: 35137088
The button is automatically freed when no other object has a reference to it
0
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 325 total points
ID: 35137093
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now