Menu

#4 Error found in color chooser demo

1.0
open
2011-11-17
2011-11-17
No

At line 64 of ColorChooserDemo.java, the tool states "The component initialized at line [64] does not have a preferred size defined that is required by a border layout. This usually happens when the component is a container with null layout. For such container you should explicitly call setPreferredSize() method to make it work with the border layout manager." I feel this is wrong because JColorChooser has to have a preferred size, but I might be wrong.

1 Attachments

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB