IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Composants Java Discussion :

[JTable] Tri des données


Sujet :

Composants Java

  1. #1
    Membre habitué Avatar de soulhouf
    Inscrit en
    Août 2005
    Messages
    213
    Détails du profil
    Informations forums :
    Inscription : Août 2005
    Messages : 213
    Points : 133
    Points
    133
    Par défaut [JTable] Tri des données
    bonjour,

    d'abord je voulais trier les listes qui se trouvent dans un JTable (comme le fait l'explorateur windows quant on clique sur l'onglet "nom" par exemple) et je me suis apperçu que ce n'est pas géré par défaut dans un JTable donc il fallais bidouiller un peu et finalement j'ai réussi à le faire et je vous donne ce lien.
    mais j'ai un sérieux problème: une fois que l'ordre dans la table a été modifié, il n'y a pas de mise à jour qui est faite sur le tableau "Object[][] data" qui a servi à construire la table.
    Exemple: je tri les elements de ma table mais ceux du tableau data n'ont pas été modifié donc quant je sélectionne une ligne je pointe automatiquement vers une fausse adresse dans le tableau data.

    Est ce qu'il y a quelqu'un qui sait comment on fait cette mise à jour?
    merci
    "Ce qui ne nous tue pas nous rend plus fort"
    Nietzsche

  2. #2
    Gfx
    Gfx est déconnecté
    Expert éminent
    Avatar de Gfx
    Inscrit en
    Mai 2005
    Messages
    1 770
    Détails du profil
    Informations personnelles :
    Âge : 41

    Informations forums :
    Inscription : Mai 2005
    Messages : 1 770
    Points : 8 178
    Points
    8 178
    Par défaut
    Peux-tu nous montrer ton tri ? Quel model utilise-tu pour la JTable ?

    Sinon tu peux utiliser la JXTable du projet SwingLabs qui fait tout ça et bien plus encore https://swinglabs.dev.java.net
    Romain Guy
    Android - Mon livre - Mon blog

  3. #3
    Expert éminent sénior
    Avatar de adiGuba
    Homme Profil pro
    Développeur Java/Web
    Inscrit en
    Avril 2002
    Messages
    13 938
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java/Web
    Secteur : Transports

    Informations forums :
    Inscription : Avril 2002
    Messages : 13 938
    Points : 23 190
    Points
    23 190
    Billets dans le blog
    1
    Par défaut
    Salut,

    Je suppose que tu dois faire ce tri dans un TableModel ?

    Si c'est bien ca il faut simplement que tu fasses remonter l'information jusqu'à la JTable en envoyant un evenement de type TableModelEvent.

    Si tu hérite d'AbstractTableModel ou de DefaultTableModel, il te suffit d'appeller la méthode fireTableDataChanged() après avoir fait ton tri...

    Sinon il faut que tu implémentes une méthode dans ce style...

    a++

  4. #4
    Membre habitué Avatar de soulhouf
    Inscrit en
    Août 2005
    Messages
    213
    Détails du profil
    Informations forums :
    Inscription : Août 2005
    Messages : 213
    Points : 133
    Points
    133
    Par défaut
    Citation Envoyé par Gfx
    Quel model utilise-tu pour la JTable ?
    j'utilise TableModel pour construire mon JTable:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
     
    class MyTableModel extends AbstractTableModel {
        private String[] columnNames;
        private Object[][] data;
     
        /**
         * 
         */
        public MyTableModel(Language lang, Object[][] data) {
            this.data = data;
            this.columnNames = lang.getTableHeaders();
            JOptionPane.showMessageDialog(new JFrame(),
                    ""+columnNames.length,
                    "information",
                    JOptionPane.INFORMATION_MESSAGE);
        }
     
        public int getColumnCount() {
            return columnNames.length;
        }
     
        public int getRowCount() {
            return data.length;
        }
     
        public String getColumnName(int col) {
            return columnNames[col];
        }
     
        public Object getValueAt(int row, int col) {
            return data[row][col];
        }
     
        /*
         * JTable uses this method to determine the default renderer/
         * editor for each cell.  If we didn't implement this method,
         * then the last column would contain text ("true"/"false"),
         * rather than a check box.
         */
        public Class getColumnClass(int c) {
            return getValueAt(0, c).getClass();
        }
     
        /*
         * Don't need to implement this method unless your table's
         * editable.
         */
        public boolean isCellEditable(int row, int col) {
            //Note that the data/cell address is constant,
            //no matter where the cell appears onscreen.
            if (col < 2) {
                return false;
            } else {
                return true;
            }
        }
     
        /*
         * Don't need to implement this method unless your table's
         * data can change.
         */
        public void setValueAt(Object value, int row, int col) {
            data[row][col] = value;
            fireTableCellUpdated(row, col);
        }
     
    }
    Citation Envoyé par Gfx
    Sinon tu peux utiliser la JXTable du projet SwingLabs qui fait tout ça et bien plus encore https://swinglabs.dev.java.net
    non là je dois me contenter de l'api de sun mais merci pour l'info
    "Ce qui ne nous tue pas nous rend plus fort"
    Nietzsche

  5. #5
    Membre habitué Avatar de soulhouf
    Inscrit en
    Août 2005
    Messages
    213
    Détails du profil
    Informations forums :
    Inscription : Août 2005
    Messages : 213
    Points : 133
    Points
    133
    Par défaut
    Citation Envoyé par adiGuba
    Salut,

    Je suppose que tu dois faire ce tri dans un TableModel ?

    Si c'est bien ca il faut simplement que tu fasses remonter l'information jusqu'à la JTable en envoyant un evenement de type TableModelEvent.

    Si tu hérite d'AbstractTableModel ou de DefaultTableModel, il te suffit d'appeller la méthode fireTableDataChanged() après avoir fait ton tri...

    Sinon il faut que tu implémentes une méthode dans ce style...
    merci je vais voir ça
    "Ce qui ne nous tue pas nous rend plus fort"
    Nietzsche

  6. #6
    Membre habitué Avatar de soulhouf
    Inscrit en
    Août 2005
    Messages
    213
    Détails du profil
    Informations forums :
    Inscription : Août 2005
    Messages : 213
    Points : 133
    Points
    133
    Par défaut
    hmm, j'ai l'impression que je me suis mal fait comprendre.
    ce que vous m'avez indiqué là fait la mise à jour de la table si le data a été modifié.
    moi ce que je veux c'est l'inverse: je voudrai faire la mise à jour du data quand la table est modifiée...
    merci
    "Ce qui ne nous tue pas nous rend plus fort"
    Nietzsche

  7. #7
    Expert éminent sénior
    Avatar de adiGuba
    Homme Profil pro
    Développeur Java/Web
    Inscrit en
    Avril 2002
    Messages
    13 938
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Développeur Java/Web
    Secteur : Transports

    Informations forums :
    Inscription : Avril 2002
    Messages : 13 938
    Points : 23 190
    Points
    23 190
    Billets dans le blog
    1
    Par défaut
    Citation Envoyé par soulhouf
    ce que vous m'avez indiqué là fait la mise à jour de la table si le data a été modifié.
    moi ce que je veux c'est l'inverse: je voudrai faire la mise à jour du data quand la table est modifiée...
    Comment tu fais ton tri ? Il devrait se trouver dans ta classe MyTableModel.

    Le TableModel contient toutes les données, et la JTable se contente de les afficher... C'est le principe du MVC.

  8. #8
    Membre habitué Avatar de soulhouf
    Inscrit en
    Août 2005
    Messages
    213
    Détails du profil
    Informations forums :
    Inscription : Août 2005
    Messages : 213
    Points : 133
    Points
    133
    Par défaut
    voici la classe qui fait le tri:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
     
    public class TableSorter extends AbstractTableModel {
        protected TableModel tableModel;
     
        public static final int DESCENDING = -1;
        public static final int NOT_SORTED = 0;
        public static final int ASCENDING = 1;
     
        private static Directive EMPTY_DIRECTIVE = new Directive(-1, NOT_SORTED);
     
        public static final Comparator COMPARABLE_COMAPRATOR = new Comparator() {
            public int compare(Object o1, Object o2) {
                return ((Comparable) o1).compareTo(o2);
            }
        };
        public static final Comparator LEXICAL_COMPARATOR = new Comparator() {
            public int compare(Object o1, Object o2) {
                return o1.toString().compareTo(o2.toString());
            }
        };
     
        private Row[] viewToModel;
        private int[] modelToView;
     
        private JTableHeader tableHeader;
        private MouseListener mouseListener;
        private TableModelListener tableModelListener;
        private Map columnComparators = new HashMap();
        private List sortingColumns = new ArrayList();
     
        public TableSorter() {
            this.mouseListener = new MouseHandler();
            this.tableModelListener = new TableModelHandler();
        }
     
        public TableSorter(TableModel tableModel) {
            this();
            setTableModel(tableModel);
        }
     
        public TableSorter(TableModel tableModel, JTableHeader tableHeader) {
            this();
            setTableHeader(tableHeader);
            setTableModel(tableModel);
        }
     
        private void clearSortingState() {
            viewToModel = null;
            modelToView = null;
        }
     
        public TableModel getTableModel() {
            return tableModel;
        }
     
        public void setTableModel(TableModel tableModel) {
            if (this.tableModel != null) {
                this.tableModel.removeTableModelListener(tableModelListener);
            }
     
            this.tableModel = tableModel;
            if (this.tableModel != null) {
                this.tableModel.addTableModelListener(tableModelListener);
            }
     
            clearSortingState();
            fireTableStructureChanged();
        }
     
        public JTableHeader getTableHeader() {
            return tableHeader;
        }
     
        public void setTableHeader(JTableHeader tableHeader) {
            if (this.tableHeader != null) {
                this.tableHeader.removeMouseListener(mouseListener);
                TableCellRenderer defaultRenderer = this.tableHeader.getDefaultRenderer();
                if (defaultRenderer instanceof SortableHeaderRenderer) {
                    this.tableHeader.setDefaultRenderer(((SortableHeaderRenderer) defaultRenderer).tableCellRenderer);
                }
            }
            this.tableHeader = tableHeader;
            if (this.tableHeader != null) {
                this.tableHeader.addMouseListener(mouseListener);
                this.tableHeader.setDefaultRenderer(
                        new SortableHeaderRenderer(this.tableHeader.getDefaultRenderer()));
            }
        }
     
        public boolean isSorting() {
            return sortingColumns.size() != 0;
        }
     
        private Directive getDirective(int column) {
            for (int i = 0; i < sortingColumns.size(); i++) {
                Directive directive = (Directive)sortingColumns.get(i);
                if (directive.column == column) {
                    return directive;
                }
            }
            return EMPTY_DIRECTIVE;
        }
     
        public int getSortingStatus(int column) {
            return getDirective(column).direction;
        }
     
        private void sortingStatusChanged() {
            clearSortingState();
            fireTableDataChanged();
            if (tableHeader != null) {
                tableHeader.repaint();
            }
        }
     
        public void setSortingStatus(int column, int status) {
            Directive directive = getDirective(column);
            if (directive != EMPTY_DIRECTIVE) {
                sortingColumns.remove(directive);
            }
            if (status != NOT_SORTED) {
                sortingColumns.add(new Directive(column, status));
            }
            sortingStatusChanged();
        }
     
        protected Icon getHeaderRendererIcon(int column, int size) {
            Directive directive = getDirective(column);
            if (directive == EMPTY_DIRECTIVE) {
                return null;
            }
            return new Arrow(directive.direction == DESCENDING, size, sortingColumns.indexOf(directive));
        }
     
        private void cancelSorting() {
            sortingColumns.clear();
            sortingStatusChanged();
        }
     
        public void setColumnComparator(Class type, Comparator comparator) {
            if (comparator == null) {
                columnComparators.remove(type);
            } else {
                columnComparators.put(type, comparator);
            }
        }
     
        protected Comparator getComparator(int column) {
            Class columnType = tableModel.getColumnClass(column);
            Comparator comparator = (Comparator) columnComparators.get(columnType);
            if (comparator != null) {
                return comparator;
            }
            if (Comparable.class.isAssignableFrom(columnType)) {
                return COMPARABLE_COMAPRATOR;
            }
            return LEXICAL_COMPARATOR;
        }
     
        private Row[] getViewToModel() {
            if (viewToModel == null) {
                int tableModelRowCount = tableModel.getRowCount();
                viewToModel = new Row[tableModelRowCount];
                for (int row = 0; row < tableModelRowCount; row++) {
                    viewToModel[row] = new Row(row);
                }
     
                if (isSorting()) {
                    Arrays.sort(viewToModel);
                }
            }
            return viewToModel;
        }
     
        public int modelIndex(int viewIndex) {
            return getViewToModel()[viewIndex].modelIndex;
        }
     
        private int[] getModelToView() {
            if (modelToView == null) {
                int n = getViewToModel().length;
                modelToView = new int[n];
                for (int i = 0; i < n; i++) {
                    modelToView[modelIndex(i)] = i;
                }
            }
            return modelToView;
        }
     
        // TableModel interface methods 
     
        public int getRowCount() {
            return (tableModel == null) ? 0 : tableModel.getRowCount();
        }
     
        public int getColumnCount() {
            return (tableModel == null) ? 0 : tableModel.getColumnCount();
        }
     
        public String getColumnName(int column) {
            return tableModel.getColumnName(column);
        }
     
        public Class getColumnClass(int column) {
            return tableModel.getColumnClass(column);
        }
     
        public boolean isCellEditable(int row, int column) {
            return tableModel.isCellEditable(modelIndex(row), column);
        }
     
        public Object getValueAt(int row, int column) {
            return tableModel.getValueAt(modelIndex(row), column);
        }
     
        public void setValueAt(Object aValue, int row, int column) {
            tableModel.setValueAt(aValue, modelIndex(row), column);
        }
     
        // Helper classes
     
        private class Row implements Comparable {
            private int modelIndex;
     
            public Row(int index) {
                this.modelIndex = index;
            }
     
            public int compareTo(Object o) {
                int row1 = modelIndex;
                int row2 = ((Row) o).modelIndex;
     
                for (Iterator it = sortingColumns.iterator(); it.hasNext();) {
                    Directive directive = (Directive) it.next();
                    int column = directive.column;
                    Object o1 = tableModel.getValueAt(row1, column);
                    Object o2 = tableModel.getValueAt(row2, column);
     
                    int comparison = 0;
                    // Define null less than everything, except null.
                    if (o1 == null && o2 == null) {
                        comparison = 0;
                    } else if (o1 == null) {
                        comparison = -1;
                    } else if (o2 == null) {
                        comparison = 1;
                    } else {
                        comparison = getComparator(column).compare(o1, o2);
                    }
                    if (comparison != 0) {
                        return directive.direction == DESCENDING ? -comparison : comparison;
                    }
                }
                return 0;
            }
        }
     
        private class TableModelHandler implements TableModelListener {
            public void tableChanged(TableModelEvent e) {
                // If we're not sorting by anything, just pass the event along.             
                if (!isSorting()) {
                    clearSortingState();
                    fireTableChanged(e);
                    return;
                }
     
                // If the table structure has changed, cancel the sorting; the             
                // sorting columns may have been either moved or deleted from             
                // the model. 
                if (e.getFirstRow() == TableModelEvent.HEADER_ROW) {
                    cancelSorting();
                    fireTableChanged(e);
                    return;
                }
     
                // We can map a cell event through to the view without widening             
                // when the following conditions apply: 
                // 
                // a) all the changes are on one row (e.getFirstRow() == e.getLastRow()) and, 
                // b) all the changes are in one column (column != TableModelEvent.ALL_COLUMNS) and,
                // c) we are not sorting on that column (getSortingStatus(column) == NOT_SORTED) and, 
                // d) a reverse lookup will not trigger a sort (modelToView != null)
                //
                // Note: INSERT and DELETE events fail this test as they have column == ALL_COLUMNS.
                // 
                // The last check, for (modelToView != null) is to see if modelToView 
                // is already allocated. If we don't do this check; sorting can become 
                // a performance bottleneck for applications where cells  
                // change rapidly in different parts of the table. If cells 
                // change alternately in the sorting column and then outside of             
                // it this class can end up re-sorting on alternate cell updates - 
                // which can be a performance problem for large tables. The last 
                // clause avoids this problem. 
                int column = e.getColumn();
                if (e.getFirstRow() == e.getLastRow()
                        && column != TableModelEvent.ALL_COLUMNS
                        && getSortingStatus(column) == NOT_SORTED
                        && modelToView != null) {
                    int viewIndex = getModelToView()[e.getFirstRow()];
                    fireTableChanged(new TableModelEvent(TableSorter.this, 
                                                         viewIndex, viewIndex, 
                                                         column, e.getType()));
                    return;
                }
     
                // Something has happened to the data that may have invalidated the row order. 
                clearSortingState();
                fireTableDataChanged();
                return;
            }
        }
     
        private class MouseHandler extends MouseAdapter {
            public void mouseClicked(MouseEvent e) {
                JTableHeader h = (JTableHeader) e.getSource();
                TableColumnModel columnModel = h.getColumnModel();
                int viewColumn = columnModel.getColumnIndexAtX(e.getX());
                int column = columnModel.getColumn(viewColumn).getModelIndex();
                if (column != -1) {
                    int status = getSortingStatus(column);
                    if (!e.isControlDown()) {
                        cancelSorting();
                    }
                    // Cycle the sorting states through {NOT_SORTED, ASCENDING, DESCENDING} or 
                    // {NOT_SORTED, DESCENDING, ASCENDING} depending on whether shift is pressed. 
                    status = status + (e.isShiftDown() ? -1 : 1);
                    status = (status + 4) % 3 - 1; // signed mod, returning {-1, 0, 1}
                    setSortingStatus(column, status);
                }
            }
        }
     
        private static class Arrow implements Icon {
            private boolean descending;
            private int size;
            private int priority;
     
            public Arrow(boolean descending, int size, int priority) {
                this.descending = descending;
                this.size = size;
                this.priority = priority;
            }
     
            public void paintIcon(Component c, Graphics g, int x, int y) {
                Color color = c == null ? Color.GRAY : c.getBackground();             
                // In a compound sort, make each succesive triangle 20% 
                // smaller than the previous one. 
                int dx = (int)(size/2*Math.pow(0.8, priority));
                int dy = descending ? dx : -dx;
                // Align icon (roughly) with font baseline. 
                y = y + 5*size/6 + (descending ? -dy : 0);
                int shift = descending ? 1 : -1;
                g.translate(x, y);
     
                // Right diagonal. 
                g.setColor(color.darker());
                g.drawLine(dx / 2, dy, 0, 0);
                g.drawLine(dx / 2, dy + shift, 0, shift);
     
                // Left diagonal. 
                g.setColor(color.brighter());
                g.drawLine(dx / 2, dy, dx, 0);
                g.drawLine(dx / 2, dy + shift, dx, shift);
     
                // Horizontal line. 
                if (descending) {
                    g.setColor(color.darker().darker());
                } else {
                    g.setColor(color.brighter().brighter());
                }
                g.drawLine(dx, 0, 0, 0);
     
                g.setColor(color);
                g.translate(-x, -y);
            }
     
            public int getIconWidth() {
                return size;
            }
     
            public int getIconHeight() {
                return size;
            }
        }
     
        private class SortableHeaderRenderer implements TableCellRenderer {
            private TableCellRenderer tableCellRenderer;
     
            public SortableHeaderRenderer(TableCellRenderer tableCellRenderer) {
                this.tableCellRenderer = tableCellRenderer;
            }
     
            public Component getTableCellRendererComponent(JTable table, 
                                                           Object value,
                                                           boolean isSelected, 
                                                           boolean hasFocus,
                                                           int row, 
                                                           int column) {
                Component c = tableCellRenderer.getTableCellRendererComponent(table, 
                        value, isSelected, hasFocus, row, column);
                if (c instanceof JLabel) {
                    JLabel l = (JLabel) c;
                    l.setHorizontalTextPosition(JLabel.LEFT);
                    int modelColumn = table.convertColumnIndexToModel(column);
                    l.setIcon(getHeaderRendererIcon(modelColumn, l.getFont().getSize()));
                }
                return c;
            }
        }
     
        private static class Directive {
            private int column;
            private int direction;
     
            public Directive(int column, int direction) {
                this.column = column;
                this.direction = direction;
            }
        }
    }
    désolé c'est un peu trop long
    "Ce qui ne nous tue pas nous rend plus fort"
    Nietzsche

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. tri des données différent entre 2 bases
    Par j6m dans le forum Oracle
    Réponses: 2
    Dernier message: 12/03/2006, 10h17
  2. [JTable] insérer des données...
    Par gondek dans le forum Composants
    Réponses: 9
    Dernier message: 13/10/2005, 11h56
  3. [JTable] Insérer des données?
    Par waldo2188 dans le forum Composants
    Réponses: 4
    Dernier message: 29/03/2005, 11h40
  4. [JTable] Tri des colonnes
    Par djskyz dans le forum Composants
    Réponses: 10
    Dernier message: 17/03/2005, 10h14
  5. [JTable] Perte des données
    Par david71 dans le forum Composants
    Réponses: 8
    Dernier message: 09/01/2005, 00h37

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo