Skip to main content



      Home
Home » Eclipse Projects » WindowBuilder » why class attribute is not generated
why class attribute is not generated [message #908704] Wed, 05 September 2012 17: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] Wed, 05 September 2012 20: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: Thu Mar 20 02:36:22 EDT 2025

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

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

Back to the top