Re: ComboBox width before setVisible??
- From: tar@xxxxxxxxxxxxx (Thomas A. Russ)
- Date: 26 Sep 2006 10:51:09 -0700
"Paulo Filipe" <paulorcfilipe@xxxxxxxxx> writes:
HI....
I'm using a comboBox and need to know his size before i set the frame
visible, i did more or less this code:
But i want to know his width before to resize a panel.
Anyone knows how can i do it??
Well, you probably don't want to do it this way. You should instead use
a layout manager that will handle this chore for you. It will save you
much aggravation in the long run.
Perhaps either GridBagLayout of the excellent JGoodies Forms will do
what you want.
--
Thomas A. Russ, USC/Information Sciences Institute
.
- References:
- ComboBox width before setVisible??
- From: Paulo Filipe
- ComboBox width before setVisible??
- Prev by Date: focusLost vs. actionPerformed
- Next by Date: Re: focusLost vs. actionPerformed
- Previous by thread: Re: ComboBox width before setVisible??
- Next by thread: TreePath
- Index(es):
Relevant Pages
|