Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > isShowing() after show()

Thread Tools

isShowing() after show()

Posts: n/a
Hi all,
After i show a dialog, the isShowing() method return false.

from Peter((E-Mail Removed))
Reply With Quote
Roedy Green
Posts: n/a
On 6 Jul 2003 19:14:01 -0700, Removed) (Peter) wrote or
quoted :

> After i show a dialog, the isShowing() method return false.

the peer object does not get created until addNotify is called.

addNotify does not get called until you do a setVisible true.

In other words you have to do initialisation that requires a peer in

addNotify after it returns from super.addNotify.


Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See for The Java Glossary.
Reply With Quote
Posts: n/a
Sorry, mistake
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if instance variable get initialize after assigning some values or after constructor then when does static variable get initialize Tony Morris Java 3 02-04-2006 08:39 AM
.NET server becomes slow after several hours, go back normal after restarting IIS davidw ASP .Net 3 08-27-2004 06:25 PM
After adding Textboxes to calender control, how to get values after Postback? Andreas Klemt ASP .Net 0 02-01-2004 02:54 AM
Datalist selects Item after first click, but does apply the SelectedItemTemplate after the second click only Dirk Meusel ASP .Net 1 08-19-2003 09:56 AM