[ 
https://issues.apache.org/jira/browse/PIVOT-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sandro Martini updated PIVOT-784:
---------------------------------

    Fix Version/s:     (was: 2.0.1)
         Assignee: Sandro Martini  (was: Greg Brown)
      Description: 
Now ListButton should be Ok, but running the Pivot694.java test application you 
can see some issues in other components.


  was:
I'm having problems with ListButton.
When I try to clean a ListButton the last text selected before remains 
selected, even with no item in the ListData of the ListButton.
I tried listButton.clear() and listButton.getListData().clear(), but with none 
of this I can scape the problem.
I debugged the application, and the listData of the ListButton is clear after 
getListData().clear(), but the last selected text remains showing.
See attached image.

Perhaps listButton.setButtonData(null)  should be performed in 
ListButton#clear().

Cheers

      Environment:     (was: Pivot 2.0
Win 7)
          Summary: Improvement in clear() and clearSelection() methods in some 
components  (was: Improvement in clear() and cleaeSelection() methods in some 
components)

> Improvement in clear() and clearSelection() methods in some components
> ----------------------------------------------------------------------
>
>                 Key: PIVOT-784
>                 URL: https://issues.apache.org/jira/browse/PIVOT-784
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>            Priority: Minor
>
> Now ListButton should be Ok, but running the Pivot694.java test application 
> you can see some issues in other components.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to