Bug 331584 - Gridbaglayoud not works correctly
Summary: Gridbaglayoud not works correctly
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: VE Bugzilla inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 13:59 EST by Diego Celso CLA
Modified: 2011-06-13 11:35 EDT (History)
0 users

See Also:


Attachments
a image with the described error (181.09 KB, image/jpeg)
2010-12-01 13:59 EST, Diego Celso CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Celso CLA 2010-12-01 13:59:03 EST
Created attachment 184285 [details]
a image with the described error

I have installer eclipse-rcp-helios-SR1-linux-gtk in a debian distribution, I only installe viual editor plugin 1.5 from eclipse update manager.
I have installed in the system java-6-openjdk and java-6-sun and change between both using update-alternatives --config java.

When Im' using java-sun, if I try to use "edit with visual editor" the viewer crash saying "java null pointer exception".

When I'm using java-openjdk, i I try to use "edit with visual editor" it works well but If I try to dragandock a component to a container with gridbaglayout, the system does not put the gridx and gridy properties asumming that alwais are "-1" then all componentes of the gridbag are in the same row.
If I try to change gridx and gridy in the source code view, the design view does not show correclty the changes but I try to run as java applications, the result is good.

Visual editor does not show the gridbaglayour properties in the properties view of his component.