This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
4 Replies Last post: Jan 15, 2014 4:15 PM by alex uskov  
alex uskov Newbie 3 posts since
Jan 13, 2014
Currently Being Moderated

Jan 13, 2014 5:39 PM

IDEA 13 Does not generate SetModel for JComboBox

IDEA 13 Does not generate SetModel for JComboBox.

During JComboBox creation in UI, I've added tooltips text - "Tooltp text" and model:

1

2

3

4

 

generated result below

 

wmcombobox = new JComboBox();
wmcombobox.setToolTipText("Tooltp text");

 

there is now setmodel call in generated source code.

If I switch from source code to Java class - everything work OK.

 

     Can you help?

     Sincerely yours...

Alexander Chernikov JetBrains 1,227 posts since
Jan 11, 2007
Currently Being Moderated
Jan 14, 2014 5:56 PM in response to: alex uskov
Re: IDEA 13 Does not generate SetModel for JComboBox

Hello.

 

This is the issue: http://youtrack.jetbrains.com/issue/IDEA-83839

 

Regards,

Alexander.

Alexander Chernikov JetBrains 1,227 posts since
Jan 11, 2007
Currently Being Moderated
Jan 15, 2014 4:07 PM in response to: alex uskov
Re: IDEA 13 Does not generate SetModel for JComboBox

Basically - yes, at the moment the code has to be added manually.

 

Alexander.

More Like This

  • Retrieving data ...