How to determine whether a component in a window is displayed in Java (Isshowing method)

Source: Internet
Author: User

Extra Extra, today git new method, to share with you.
Seeing this method for the first time, I cannot help but sigh that it has been so great and selfless.

You may sometimes need to judge whether a build in a window is displayed or not. Encounter this problem, some people may be in their own encapsulation to write a method, but a look at the API, I have all the day.
where Isshowing () is to determine whether the formation is displayed;
Of course there are isdisposing () to determine whether the formation is hidden;

Want to know more can go to API stroll

How to determine whether a component in a window is displayed in Java (Isshowing method)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.