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 :

[swing] [JTREE] problèmes d'affichage


Sujet :

Composants Java

  1. #1
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2006
    Messages
    67
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2006
    Messages : 67
    Points : 47
    Points
    47
    Par défaut [swing] [JTREE] problèmes d'affichage
    Bonjour,

    J'ai fait une appli qui fait un peu exploreur avec des options.
    Mon problème est que lorsque j'ai des dossiers contenant beaucoup de fichier cela bloque mon appli.
    Je ne sais pas trop comment faire.
    J'ai redefinit la méthode
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    public Component getTreeCellRendererComponent(JTree tree,Object value
    			,boolean selected,boolean expanded
    			,boolean leaf,int row,boolean hasFocus)
    dans une class qui extends DefaultTreeCellRenderer.
    Cette méthode est appelée le nombre de fois qu'il y a de sous-dossier ou sous-fichier dans un dossier et dois sûrement s'executer dans l'EDT. Ce qui expliquerait mon problème. Mais je ne sais pas comment la faire executer dans un autre thread pour arrêter de bloquer l'EDT.

    Voici la méthode en question :
    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
    public Component getTreeCellRendererComponent(JTree tree,Object value
    			,boolean selected,boolean expanded
    			,boolean leaf,int row,boolean hasFocus){
     
                    JLabel label = (JLabel)super.getTreeCellRendererComponent(tree,value,selected,expanded,leaf,row,hasFocus);
    		File fichier = (File)value;
    		FileSystemView sys = FileSystemView.getFileSystemView();
                    String s = sys.getSystemDisplayName(fichier);
     
                    if(s.length()>3 && s.substring(s.length()-3,s.length()).equals("jpg"))
                    {
                        label.setText(s.substring(0,s.length()-4)+"  "+dateFormat.format(new Date(fichier.lastModified())));
                        label.setIcon(sys.getSystemIcon(fichier));
                    }
                    else{
                        label.setText(sys.getSystemDisplayName(fichier));
                        label.setIcon(sys.getSystemIcon(fichier));
                    }
    		return label;				
    	}
    Merci d'avance

  2. #2
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2006
    Messages
    67
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2006
    Messages : 67
    Points : 47
    Points
    47
    Par défaut
    Bonjour,

    Je viens de me rendre compte que j'ai confondu IDE et EDT
    Desoler

    Donc je vais remplacer cela dans le post precedant.

    ça sera surment plus claire

  3. #3
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2006
    Messages
    67
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2006
    Messages : 67
    Points : 47
    Points
    47
    Par défaut
    En cherchant du côté de swingworker j'ai changé ma jdk.(passage de la 5 à la 6)
    Et sans rien faire, mon exploreur ne devient plus gris pendant la recherche des dossiers.
    Néanmoins j'ai eu une erreur critique qui n'apparait pas à chaque fois :
    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
    #
    # An unexpected error has been detected by Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c17fd4, pid=3884, tid=3380
    #
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C  [msvcrt.dll+0x37fd4]
    #
    # An error report file with more information is saved as hs_err_pid3884.log
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #
    Java Result: 1
    Voici le fichier log :
    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
    #
    # An unexpected error has been detected by Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77c17fd4, pid=3884, tid=3380
    #
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode)
    # Problematic frame:
    # C  [msvcrt.dll+0x37fd4]
    #
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #
     
    ---------------  T H R E A D  ---------------
     
    Current thread (0x0af7cc00):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3380]
     
    siginfo: ExceptionCode=0xc0000005, reading address 0x0d8fd000
     
    Registers:
    EAX=0x0d8fd000, EBX=0x00000001, ECX=0x0aca0072, EDX=0x71ca0004
    ESP=0x0d48ee84, EBP=0x0d48ee84, ESI=0x0aca8d20, EDI=0x00000000
    EIP=0x77c17fd4, EFLAGS=0x00010206
     
    Top of Stack: (sp=0x0d48ee84)
    0x0d48ee84:   0d48ee90 770e4c1d 0d8fcfde 0d48eebc
    0x0d48ee94:   10001b80 0d8fcfde 0d48eef0 10001b3f
    0x0d48eea4:   0d8fcfde 0d8fcf80 0aca8d20 0d48ef64
    0x0d48eeb4:   1000411a 00000000 0d48eee0 10001a44
    0x0d48eec4:   0d8fcfde 0d8fc000 00000000 00000000
    0x0d48eed4:   00000000 0d8fcf00 00000000 0d48eef8
    0x0d48eee4:   10001d8c 0d8fc000 00001000 00000000
    0x0d48eef4:   0d8f10a0 0d48ef74 7c80f06f 00003968 
     
    Instructions: (pc=0x77c17fd4)
    0x77c17fc4:   5b 5d c3 cc cc cc cc cc 8b ff 55 8b ec 8b 45 08
    0x77c17fd4:   66 8b 08 40 40 66 85 c9 75 f6 2b 45 08 d1 f8 48 
     
     
    Stack: [0x0d440000,0x0d490000),  sp=0x0d48ee84,  free space=315k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [msvcrt.dll+0x37fd4]
    C  [OLEAUT32.dll+0x4c1d]
    C  0x10001b80
    C  0x10001a44
    C  0x10001d8c
    C  [kernel32.dll+0xf06f]
    C  [java.dll+0x93c5]
    j  java.io.WinNTFileSystem.list(Ljava/io/File;)[Ljava/lang/String;+0
    J  java.io.File.listFiles()[Ljava/io/File;
    j  TestRadarV28.FileTreeModel.getFichiers(Ljava/lang/Object;)Ljava/util/List;+6
    j  TestRadarV28.FileTreeModel.getChild(Ljava/lang/Object;I)Ljava/lang/Object;+2
    j  javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Z)V+165
    j  javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand()V+2
    j  javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Ljavax/swing/tree/TreePath;Z)V+52
    j  javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Ljavax/swing/tree/TreePath;Z)V+11
    j  javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(Ljavax/swing/tree/TreePath;)V+17
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(Ljavax/swing/event/TreeExpansionEvent;)V+24
    j  javax.swing.JTree.fireTreeExpanded(Ljavax/swing/tree/TreePath;)V+32
    j  javax.swing.JTree.setExpandedState(Ljavax/swing/tree/TreePath;Z)V+401
    j  javax.swing.JTree.expandPath(Ljavax/swing/tree/TreePath;)V+29
    j  javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(Ljavax/swing/tree/TreePath;)V+26
    j  javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(Ljavax/swing/tree/TreePath;II)V+2
    j  javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(Ljavax/swing/tree/TreePath;II)V+14
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Ljava/awt/event/MouseEvent;)V+66
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Ljava/awt/event/MouseEvent;)V+129
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+562
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+320
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+126
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    J  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
    j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
     
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  java.io.WinNTFileSystem.list(Ljava/io/File;)[Ljava/lang/String;+0
    J  java.io.File.listFiles()[Ljava/io/File;
    j  TestRadarV28.FileTreeModel.getFichiers(Ljava/lang/Object;)Ljava/util/List;+6
    j  TestRadarV28.FileTreeModel.getChild(Ljava/lang/Object;I)Ljava/lang/Object;+2
    j  javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Z)V+165
    j  javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand()V+2
    j  javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Ljavax/swing/tree/TreePath;Z)V+52
    j  javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Ljavax/swing/tree/TreePath;Z)V+11
    j  javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(Ljavax/swing/tree/TreePath;)V+17
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(Ljavax/swing/event/TreeExpansionEvent;)V+24
    j  javax.swing.JTree.fireTreeExpanded(Ljavax/swing/tree/TreePath;)V+32
    j  javax.swing.JTree.setExpandedState(Ljavax/swing/tree/TreePath;Z)V+401
    j  javax.swing.JTree.expandPath(Ljavax/swing/tree/TreePath;)V+29
    j  javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(Ljavax/swing/tree/TreePath;)V+26
    j  javax.swing.plaf.basic.BasicTreeUI.handleExpandControlClick(Ljavax/swing/tree/TreePath;II)V+2
    j  javax.swing.plaf.basic.BasicTreeUI.checkForClickInExpandControl(Ljavax/swing/tree/TreePath;II)V+14
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Ljava/awt/event/MouseEvent;)V+66
    j  javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Ljava/awt/event/MouseEvent;)V+129
    j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+54
    j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
    j  java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V+81
    j  java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V+18
    j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+562
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+42
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V+320
    j  java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z+126
    j  java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z+50
    j  java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V+12
    j  java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V+19
    j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
    j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
    J  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
    j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
    j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
    j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
    j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
    j  java.awt.EventDispatchThread.run()V+9
    v  ~StubRoutines::call_stub
     
    ---------------  P R O C E S S  ---------------
     
    Java Threads: ( => current thread )
      0x00296c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=4020]
    =>0x0af7cc00 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3380]
      0x0af74c00 JavaThread "Swing-Shell" daemon [_thread_blocked, id=3124]
      0x0aed2400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4000]
      0x0aed1800 JavaThread "AWT-Shutdown" [_thread_blocked, id=452]
      0x0aedac00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1380]
      0x0aab3400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3408]
      0x0aab1800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4048]
      0x0aaa6000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=3600]
      0x0aaa4c00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2948]
      0x0aaa2c00 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=992]
      0x0aa97c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=952]
      0x0aa97000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2052]
      0x0aa87800 JavaThread "Finalizer" daemon [_thread_blocked, id=2912]
      0x0aa83000 JavaThread "Reference Handler" daemon [_thread_blocked, id=784]
     
    Other Threads:
      0x0aa80000 VMThread [id=2164]
      0x0aab4c00 WatcherThread [id=3056]
     
    VM state:not at safepoint (normal execution)
     
    VM Mutex/Monitor currently owned by a thread: None
     
    Heap
     def new generation   total 960K, used 162K [0x02990000, 0x02a90000, 0x02e70000)
      eden space 896K,  11% used [0x02990000, 0x029a8be8, 0x02a70000)
      from space 64K, 100% used [0x02a70000, 0x02a80000, 0x02a80000)
      to   space 64K,   0% used [0x02a80000, 0x02a80000, 0x02a90000)
     tenured generation   total 4096K, used 3463K [0x02e70000, 0x03270000, 0x06990000)
       the space 4096K,  84% used [0x02e70000, 0x031d1e68, 0x031d2000, 0x03270000)
     compacting perm gen  total 12288K, used 7982K [0x06990000, 0x07590000, 0x0a990000)
       the space 12288K,  64% used [0x06990000, 0x0715ba40, 0x0715bc00, 0x07590000)
    No shared spaces configured.
     
    Dynamic libraries:
    0x00400000 - 0x00423000 	C:\Program Files\Java\jdk1.6.0_03\bin\java.exe
    0x7c910000 - 0x7c9c7000 	C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c905000 	C:\WINDOWS\system32\kernel32.dll
    0x77da0000 - 0x77e4c000 	C:\WINDOWS\system32\ADVAPI32.dll
    0x77e50000 - 0x77ee1000 	C:\WINDOWS\system32\RPCRT4.dll
    0x7c340000 - 0x7c396000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\msvcr71.dll
    0x6d870000 - 0x6daba000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\client\jvm.dll
    0x7e390000 - 0x7e420000 	C:\WINDOWS\system32\USER32.dll
    0x77ef0000 - 0x77f37000 	C:\WINDOWS\system32\GDI32.dll
    0x76ae0000 - 0x76b0f000 	C:\WINDOWS\system32\WINMM.dll
    0x76320000 - 0x7633d000 	C:\WINDOWS\system32\IMM32.DLL
    0x5d0a0000 - 0x5d0a7000 	C:\WINDOWS\system32\serwvdrv.dll
    0x5b3c0000 - 0x5b3c7000 	C:\WINDOWS\system32\umdmxfrm.dll
    0x6d3c0000 - 0x6d3c8000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\hpi.dll
    0x76ba0000 - 0x76bab000 	C:\WINDOWS\system32\PSAPI.DLL
    0x6d4b0000 - 0x6d4d9000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\jdwp.dll
    0x6d770000 - 0x6d776000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\npt.dll
    0x6d820000 - 0x6d82c000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\verify.dll
    0x6d460000 - 0x6d47f000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\java.dll
    0x6d860000 - 0x6d86f000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\zip.dll
    0x6d330000 - 0x6d337000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\dt_socket.dll
    0x719f0000 - 0x71a07000 	C:\WINDOWS\system32\WS2_32.dll
    0x77be0000 - 0x77c38000 	C:\WINDOWS\system32\msvcrt.dll
    0x719e0000 - 0x719e8000 	C:\WINDOWS\system32\WS2HELP.dll
    0x71990000 - 0x719d0000 	C:\WINDOWS\System32\mswsock.dll
    0x76ed0000 - 0x76ef7000 	C:\WINDOWS\system32\DNSAPI.dll
    0x76f60000 - 0x76f68000 	C:\WINDOWS\System32\winrnr.dll
    0x76f10000 - 0x76f3d000 	C:\WINDOWS\system32\WLDAP32.dll
    0x76f70000 - 0x76f76000 	C:\WINDOWS\system32\rasadhlp.dll
    0x62e40000 - 0x62e99000 	C:\WINDOWS\system32\hnetcfg.dll
    0x719d0000 - 0x719d8000 	C:\WINDOWS\System32\wshtcpip.dll
    0x6d0b0000 - 0x6d273000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\awt.dll
    0x72f50000 - 0x72f76000 	C:\WINDOWS\system32\WINSPOOL.DRV
    0x774a0000 - 0x775dd000 	C:\WINDOWS\system32\ole32.dll
    0x5b090000 - 0x5b0c8000 	C:\WINDOWS\system32\uxtheme.dll
    0x736b0000 - 0x736f9000 	C:\WINDOWS\system32\ddraw.dll
    0x73b10000 - 0x73b16000 	C:\WINDOWS\system32\DCIMAN32.dll
    0x6d360000 - 0x6d3b3000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\fontmanager.dll
    0x74690000 - 0x746db000 	C:\WINDOWS\system32\MSCTF.dll
    0x75140000 - 0x7516e000 	C:\WINDOWS\system32\msctfime.ime
    0x7c9d0000 - 0x7d1f3000 	C:\WINDOWS\system32\shell32.dll
    0x77f40000 - 0x77fb6000 	C:\WINDOWS\system32\SHLWAPI.dll
    0x77390000 - 0x77493000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x58b50000 - 0x58bea000 	C:\WINDOWS\system32\comctl32.dll
    0x6d620000 - 0x6d633000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\net.dll
    0x6d640000 - 0x6d649000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\nio.dll
    0x778e0000 - 0x779d8000 	C:\WINDOWS\system32\SETUPAPI.dll
    0x76960000 - 0x76a15000 	C:\WINDOWS\system32\USERENV.dll
    0x77b50000 - 0x77b72000 	C:\WINDOWS\system32\appHelp.dll
    0x76f80000 - 0x76fff000 	C:\WINDOWS\system32\CLBCATQ.DLL
    0x77000000 - 0x770d4000 	C:\WINDOWS\system32\COMRes.dll
    0x770e0000 - 0x7716b000 	C:\WINDOWS\system32\OLEAUT32.dll
    0x77bd0000 - 0x77bd8000 	C:\WINDOWS\system32\VERSION.dll
    0x765b0000 - 0x76606000 	C:\WINDOWS\System32\cscui.dll
    0x76590000 - 0x765ad000 	C:\WINDOWS\System32\CSCDLL.dll
    0x6d500000 - 0x6d524000 	C:\Program Files\Java\jdk1.6.0_03\jre\bin\jpeg.dll
     
    VM Arguments:
    jvm_args: -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:transport=dt_socket,address=localhost:1058
    java_command: TestRadarV28.ExplorateurFichiers
    Launcher Type: SUN_STANDARD
     
    Environment Variables:
    PATH=C:\Program Files\MinGW\bin;C:\Program Files\Java\j2sdk1.4.2_01\bin;C:\Program Files\SofTec Microsystems\asm;C:\Program Files\inDART-ST7\asm;C:\Program Files\STMicroelectronics\st7toolset\asm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\COSMIC\CXST7_16K;C:\j2sdk1.4.2_01\bin;;"C:\Program Files\Zone Labs\ZoneAlarm\MailFrontier";C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;C:\j2sdk1.4.2_01\bin;
    USERNAME=Cardi
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 10 Stepping 0, AuthenticAMD
     
     
     
    ---------------  S Y S T E M  ---------------
     
    OS: Windows XP Build 2600 Service Pack 2
     
    CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 10 stepping 0, cmov, cx8, fxsr, mmx, sse, mmxext, 3dnow, 3dnowext
     
    Memory: 4k page, physical 1015280k(137480k free), swap 1660796k(953324k free)
     
    vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for windows-x86, built on Sep 24 2007 22:24:33 by "java_re" with unknown MS VC++:1310

    Si quelqu'un peut m'expliquer...

    Merci d'avance

  4. #4
    Membre du Club
    Profil pro
    Inscrit en
    Mars 2006
    Messages
    67
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2006
    Messages : 67
    Points : 47
    Points
    47
    Par défaut
    Bonjour,

    Je vais reformuler ma question sachant que je souhaite utiliser jre5:
    Est il possible de faire faire des pauses au EDT quand il execute un code long ?
    Dans mon cas j'aimerai lui imposer une pause dans la méthode getTreeCellRendererComponent.

    Si cela n'est pas possible de "l'interrieur" comment puis je construire mon JTree de manière à ce que EDT fasse des pauses durant l'appel de la méthode getTreeCellRendererComponent ?

    Merci d'avance

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

Discussions similaires

  1. [Swing][Jtree] Problème d'affichage
    Par shinchun dans le forum Composants
    Réponses: 2
    Dernier message: 10/08/2007, 14h33
  2. JTree : problème d'affichage ajout/suppression noeud
    Par rnan dans le forum Composants
    Réponses: 3
    Dernier message: 07/04/2006, 08h12
  3. [Swing][JTree][Affichage]Rafraichir un noeud
    Par Melchisedec dans le forum Composants
    Réponses: 2
    Dernier message: 27/03/2006, 16h10
  4. [Swing]Problème d'affichage sur un JTree
    Par tomca dans le forum Composants
    Réponses: 4
    Dernier message: 19/01/2006, 10h41
  5. [Swing] problème d'affichage
    Par l'obstiné dans le forum AWT/Swing
    Réponses: 2
    Dernier message: 21/08/2004, 18h05

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