Community
Participate
Working Groups
Build Identifier: 2011.07.16 I've created a visual class using the new Visual Class wizard which extends JPanel. I've set an absolute layout, as this class has no dynamic material. The editor will not allow me to scroll down and see the entire JPanel. I cannot visually modify or see components below about 1300 pix. In order to work with those objects you must use the code editor and move the objects around by hand by setting their coordinates manually. REALLY painful. Reproducible: Always Steps to Reproduce: 1. Create a new visual class which extends JPanel 2. Set size (or preferred size) to about 2000. 3. Attempt to visually place components toward the bottom of the JPanel. 4. Should notice that you cannot scroll past about 1300 pix.
We usually see that sort of truncation/clipping when part of the panel is outside the bounds that would fit on the physical display. This is a know OS limitation. Using a larger display (either physical or virtual) can solve the problem. An even better approach would be to break the panel up into smaller sub panels that are each small enough to fit within the physical screen boundaries. Also, using absolute layout is *always* a bad idea. *** This bug has been marked as a duplicate of bug 352153 ***