Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » why class attribute is not generated
why class attribute is not generated [message #908704] Wed, 05 September 2012 21:08 Go to next message
Eclipse UserFriend
I drag some elements such as JTextField onto the Frame. Sometimes, the generate code declares the textField as a class attribute. But, sometimes the textField becomes a local variable in method initialize(). How can I avoid the latter case? Thanks.
Re: why class attribute is not generated [message #908752 is a reply to message #908704] Thu, 06 September 2012 00:18 Go to previous message
Eclipse UserFriend
That is entirely controlled by the code generation prefs you have in place and whether you converted any of the text fields into local variables or not. It only take one click to convert a widget from a field to a local and vice versa.
Previous Topic:why palette view is gone after re-import
Next Topic:Disambiguating wizards
Goto Forum:
  


Current Time: Wed Feb 19 00:18:33 GMT 2025

Powered by FUDForum. Page generated in 0.03547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top