Travis Winfrey wrote:
>
>
> This could be a basic bug in JDK, but invisibile dialogs
> frequently are caused by simple sizing bug in your dialog
> instance. Check to make sure they have a reasonable
> minimum size -- the relationship to the resizability attribute
> might only be an artifact where the size is changed by
> the frame placed around the dialog by the window
> manager, not a bug per se.
Well, my dialog doesn't seem to have size problems.
The solution was simple, as pointed out by Juergen :
First pack(); show(); and then setResizable( false );
This looks a bit tweaked, but it works...
>
>
> If that doesn't work, one low-rent version of debugging this
> problem is to override getPreferredSize() or doLayout() or
> whatever so that you can see when/if these methods are being
> called for your object
I didn't reach that far, since my dialog worked fine everywhere except KDE (cute...)
The fact was that pack(); show(); where called but nothing happened!
At any rate,
Thanx for your suggestions.
Dimitris