regarding GridConstraints

HI All,
The two constructor for GridConstraints are
1> public GridConstraints()
2> public GridConstraints(int i, int i1, int i2, int i3, int i4, int i5, int i6, int i7, java.awt.Dimension dimension, java.awt.Dimension dimension1, java.awt.Dimension dimension2)
But the problem is that the code generated inside $$setup()$$$ method is auto- matically taking constructors as GridConstraints(int,int,int,int,int,int,int,int, null,null,null, int,boolean) And hence it showing error inside that method,
How can i overcome this problem? For standlone application will it complite and run ? and why its showing different constructor for GridConstraints ? Please this is urgent

2 comments

Hello Nav,

The two constructor for GridConstraints are
1> public GridConstraints()
2> public GridConstraints(int i, int i1, int i2, int i3, int i4, int
i5, int i6, int i7, java.awt.Dimension dimension, java.awt.Dimension
dimension1, java.awt.Dimension dimension2)
But the problem is that the code generated inside $$setup()$$$ method
is auto- matically taking constructors as
GridConstraints(int,int,int,int,int,int,int,int, null,null,null,
int,boolean) And hence it showing error inside that method,
How can i overcome this problem? For standlone application will it
complite and run ? and why its showing different constructor for
GridConstraints ? Please this is urgent


Which build of IDEA are you using? Also please ensure that you're linking
against forms_rt.jar from the same version of IDEA as the one you're using
to develop the forms.

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


0

Hi,
That problem is solved now.Thanks
Actually i am doing some modification to already existing code. The previous one was in some older version of IntellijIDEA bit now i am using 6.0.5 version and using the new jar file in my classpath and in some lib folder of my project directory.
now problem is that IntellijIDEA compiling GUI forms properly and generating the modified code in the setup() method. But when i am trying to run my application in which a Applet is calling a Swing Application .But applet is not able to open the Swing Application, when i am showing in the Browser its showingNoSuchMethoderror "GridConstraints(paramaerts here....)
Whast the cause of this i am using the latest jar file now.

0

Please sign in to leave a comment.