java.lang.NoSuchMethodError: javax.swing.JLabel.setInheritsPopupMenu(Z)V

Hi...

I get the appended strange error when trying to start my app. It looks like
setInheritsPopupMenu (1.5) method is called despite the fact that my project
settings are 1.4. Is there anything I can do?

Ciao

...Jochen

java.lang.NoSuchMethodError: javax.swing.JLabel.setInheritsPopupMenu(Z)V
at
com.orbotech.ebp.flashreleasebuilder.ReleaseUI.$$$setupUI$$$(ReleaseUI.java)
at com.orbotech.ebp.flashreleasebuilder.ReleaseUI.]]>(ReleaseUI.java:38)
at com.orbotech.ebp.flashreleasebuilder.ReleaseUI.main(ReleaseUI.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)



3 comments

Hello Jochen,

You will need to edit the .form file and remove the inheritsPopupMenu property
from it.

The next version of the UI Designer will present a much easier way to reset
a property to a default value without editing the .form file.

JR> I get the appended strange error when trying to start my app. It
JR> looks like setInheritsPopupMenu (1.5) method is called despite the
JR> fact that my project settings are 1.4. Is there anything I can do?
JR>
JR> Ciao
JR>
JR> ...Jochen
JR>
JR> java.lang.NoSuchMethodError:
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Yep, works! Thanks a lot! Wouldn't it be good to not allow 1.5 level
attributes to ge edted with 1.4 source compatibility set?

Ciao

...Jochen

"Dmitry Jemerov (JetBrains)" <yole@jetbrains.com> wrote in message
news:83ca25fd245e538c7b1a73807bc70@news.intellij.net...

Hello Jochen,

>

You will need to edit the .form file and remove the inheritsPopupMenu
property from it.

>

The next version of the UI Designer will present a much easier way to
reset a property to a default value without editing the .form file.

>

JR> I get the appended strange error when trying to start my app. It
JR> looks like setInheritsPopupMenu (1.5) method is called despite the
JR> fact that my project settings are 1.4. Is there anything I can do?
JR> JR> Ciao
JR> JR> ...Jochen
JR> JR> java.lang.NoSuchMethodError:
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

>




0

Hello Jochen,

This is also planned for the next version of the UI Designer.

JR> Yep, works! Thanks a lot! Wouldn't it be good to not allow 1.5 level
JR> attributes to ge edted with 1.4 source compatibility set?
JR>
JR> Ciao
JR>
JR> ...Jochen
JR>
JR> "Dmitry Jemerov (JetBrains)" <yole@jetbrains.com> wrote in message
JR> news:83ca25fd245e538c7b1a73807bc70@news.intellij.net...
JR>
>> Hello Jochen,
>>
>> You will need to edit the .form file and remove the inheritsPopupMenu
>> property from it.
>>
>> The next version of the UI Designer will present a much easier way to
>> reset a property to a default value without editing the .form file.
>>
>> JR> I get the appended strange error when trying to start my app. It
>> JR> looks like setInheritsPopupMenu (1.5) method is called despite
>> the
>> JR> fact that my project settings are 1.4. Is there anything I can
>> do?
>> JR> JR> Ciao
>> JR> JR> ...Jochen
>> JR> JR> java.lang.NoSuchMethodError:
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.