Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » How to prevent WindowBuilder from making a child components children editable?
How to prevent WindowBuilder from making a child components children editable? [message #721329] Thu, 01 September 2011 09:35 Go to previous message
Rayleigh Missing name is currently offline Rayleigh Missing name
Messages: 20
Registered: July 2011
Junior Member
I've got 2 JPanels:
- MainPanel.java
- SubPanel.java

If I add a SubPanel instance to MainPanel, WindowBuilder makes the components in SubPanel editable. But only if they're made publicly available by creating the component in a public or in some cases protected or package private getter method. Using private getters or no getters at all works. How can I prevent this behaviour, even with public getters?

[Updated on: Thu, 01 September 2011 09:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic:Create a new plug-in that contributes to WindowBuilder
Next Topic:Custom Layout
Goto Forum:
  


Current Time: Fri May 24 11:37:01 EDT 2013

Powered by FUDForum. Page generated in 0.02084 seconds