Solved

removeNotify() in class JButton

Posted on 2010-11-13
2
590 Views
Last Modified: 2012-05-10
Can some one please please explain this removeNotify() method  to me in JButton class. ?

Moreover I pretty much understand the component hierarchy, but not sure about what "root pane" is all about ..

thanks a lot !

public void removeNotify()
Overrides JComponent.removeNotify to check if this button is currently set as the default button on the RootPane, and if so, sets the RootPane's default button to null to ensure the RootPane doesn't hold onto an invalid button reference.
0
Comment
Question by:hipal
  • 2
2 Comments
 
LVL 92

Expert Comment

by:objects
ID: 34128912
0
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 34128934
removeNotify() removes the native winmdow resource
its not something you should worry about and is only used internally
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
BATCH to EXE Converter 2 72
convert Systemjs to Webpack 3 84
How to log java errors in tomcat 8 25
print bytes of an integer 6 29
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

696 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