On Tue, Oct 02, 2001 at 09:24:30AM -0600, Stuart Wier wrote:
> One of my JButtons is not visible when created.
> 
> I am developing a desktop standalone application
> which has a ui of JButtons in JPanels.  All buttons
> appear except one, which however will appear if the main JFrame
> is resized even the slightest by the user using the mouse
> on the edge.  All the JButton code is the same so
> far as I can see.  Why is one button hiding until resized?

Are you doing a pack() after you lay out your UI?

Nathan


> 
> I am running Java 1.3.1 on Redhat 7.1 with Blackdown Java 3D.
> 
> Thanks
> 
> Stu
> 
> -- 
> 
> Stuart Wier                              UCAR Unidata Program
> [EMAIL PROTECTED]                           P.O. Box 3000
> http://www.unidata.ucar.edu/staff/wier      Boulder, CO 80307
> 
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to