Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353920 - Wysiwyg editor cannot scroll down far enough to see entire JPanel in excess of about 1300 pix in height.
Summary: Wysiwyg editor cannot scroll down far enough to see entire JPanel in excess o...
Status: CLOSED DUPLICATE of bug 352153
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 12:34 EDT by Brian Sweeney CLA
Modified: 2021-06-04 16:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***