Thomas SMETS
Posts: 307
Nickname: tsmets
Registered: Apr, 2002
|
|
Re: I have a problem with setVisible(true) !!!!!!
|
Posted: Jan 5, 2003 5:11 PM
|
|
Robbies,
You gave a working solution but you didn't explained the WHY :-))
The most likely reason the setvisible (true); or getSize (); returns 0 (zero) is that the Object (of type Frame ) is not completely built in memory, yet. The various internal state might be initialized afterwards.
It's too late for me for now, but I think it's worth trying with a JFrame
Rgds,
Thomas,
|
|