Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353920

Summary: Wysiwyg editor cannot scroll down far enough to see entire JPanel in excess of about 1300 pix in height.
Product: z_Archived Reporter: Brian Sweeney <bsweeney>
Component: WindowBuilderAssignee: Project inbox <wb.swing-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: clayberg
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Brian Sweeney CLA 2011-08-04 12:34:32 EDT
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.
Comment 1 Eric Clayberg CLA 2011-08-04 21:24:51 EDT
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 ***