[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: MetalFileChooser
From: |
Lillian Angel |
Subject: |
[cp-patches] Patch: MetalFileChooser |
Date: |
Fri, 25 Nov 2005 17:58:00 -0500 |
Here is another editing fix.
2005-11-25 Lillian Angel <address@hidden>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(mouseClicked): Fixed to keep track of last object clicked,
instead of index. Problems arise when lists change for different
directories and using the index.
(editFile): Fixed size and location for text field. Painting is
still a little messed up when typing because there is no action
listener yet.
On Fri, 2005-11-25 at 16:59 -0500, Lillian Angel wrote:
> I am starting to implement the editing for the MetalFileChooser. It does
> not completely work, but its a start.
>
> 2005-11-25 Lillian Angel <address@hidden>
>
> * javax/swing/JFileChooser.java:
> selectedFiles field should not be initialized.
> (getSelectedFiles): Should return empty array, not null.
> * javax/swing/plaf/metal/MetalFileChooserUI.java
> (MetalFileChooserSelectionListener): Added comment.
> (valueChanged): Fixed API documentation.
> (SingleClickListener): Likewise.
> (SingleClickListener.init): Added field initializations.
> (mouseClicked): Implemented.
> (editFile): Partially implemented.
> (completeEditing): Implemented.
> (installUI): Added call to create the action map.
> (uninstallUI): Set actionMap to null.
> (getActionMap): Implemented.
> (createList): Uncommented code.
> (removeControlButtons): Implemented.
>
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches
patch.diff
Description: Text Data