Bonjour,
je suis actuellement entrain de me coder une applet et j'ai un petit soucis... Lorsque je lance le run et que je teste tout fonctionne correctement, en cliquant sur un bouton j'arrive à obtenir l'affichage de mon tableau mais lorsque je le lance à partir du navigateur je n'obtiens plus rien...
Dans un premier temps voici ou se trouve l'erreur :
Code :
- public void actionPerformed(ActionEvent ae)
- {
- if (ae.getActionCommand() == "Tab" )
- {
- <souligne>RequestManager.displayInTab(StationPanel.getTagSQ(), timePanel.getStartDate(), timePanel.getEndDate());</souligne>
- }
|
Et voici ma table concernée (une partie car elle est grande):
Code :
- public static void displayInTab(ArrayList<String> tabTag, Date startDate, Date endDate)
- {
- HashMap<String, Statistique> statList = StationPanel.getStatistiques();
- TabFrame tabFrame = new TabFrame(startDate, endDate);
- ........
|
Pour finir voici mes erreurs, la ligne 73 est celle soulignée :
Code :
- Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: org/jfree/data/category/CategoryDataset
- at com.actemium.syclopp.analyser.AnalyserPanel$1.actionPerformed(AnalyserPanel.java:113)
- at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
- at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
- at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
- at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
- at java.awt.Component.processMouseEvent(Unknown Source)
- at javax.swing.JComponent.processMouseEvent(Unknown Source)
- at java.awt.Component.processEvent(Unknown Source)
- at java.awt.Container.processEvent(Unknown Source)
- at java.awt.Component.dispatchEventImpl(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.EventQueue.dispatchEvent(Unknown Source)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.run(Unknown Source)
- Caused by: java.lang.ClassNotFoundException: org.jfree.data.category.CategoryDataset
- at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- at java.lang.ClassLoader.loadClass(Unknown Source)
- ... 25 more
- Caused by: java.io.IOException: open HTTP connection failed:http://localhost/Docs/org/jfree/data/category/CategoryDataset.class
- at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
- at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
- at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- ... 28 more
|
Merci beaucoup pour votre aide ! ![;) ;)](https://forum-images.hardware.fr/icones/wink.gif)