how to access class constructor parameters from inside createUIComponents

From inside createUIComponents(), how do I access parameters passed into the class constructor?

It seems impossible because createUIComponents() is invoked before the class constructor. Or is there another way?

1 comment

Hello F90,

From inside createUIComponents(), how do I access parameters passed
into the class constructor?

It seems impossible because createUIComponents() is invoked before the
class constructor. Or is there another way?


This problem is fixed in Selena. createUIComponents() is now called after
field assignments in the constructor, so you can assign constructor parameters
to fields and then access these fields from your createUIComponents() code.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.