KokaKiwi / MCLauncher

Custom Launcher for Minecraft
38 stars 28 forks source link

type javax.swing.JList does not take parameters #26

Closed Rudloff closed 10 years ago

Rudloff commented 10 years ago

Bonjour,

J'obtiens une erreur quand j'essaie de compiler :

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building MCLauncher
[INFO]    task-segment: [test]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 8 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 57 source files to /home/pierre/Bureau/MCLauncher/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/pierre/Bureau/MCLauncher/src/main/java/com/kokakiwi/mclauncher/ui/simple/ModsDialog.java:[39,17] type javax.swing.JList does not take parameters

/home/pierre/Bureau/MCLauncher/src/main/java/com/kokakiwi/mclauncher/ui/simple/ModsDialog.java:[41,28] type javax.swing.DefaultListModel does not take parameters

/home/pierre/Bureau/MCLauncher/src/main/java/com/kokakiwi/mclauncher/utils/MCLogger.java:[184,30] cannot find symbol
symbol  : method getName(char)
location: class java.lang.Character

/home/pierre/Bureau/MCLauncher/src/main/java/com/kokakiwi/mclauncher/ui/simple/ModsDialog.java:[82,36] type javax.swing.DefaultListModel does not take parameters

/home/pierre/Bureau/MCLauncher/src/main/java/com/kokakiwi/mclauncher/ui/simple/ModsDialog.java:[88,28] type javax.swing.JList does not take parameters

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Sat Jan 18 14:09:16 CET 2014
[INFO] Final Memory: 12M/108M
[INFO] ------------------------------------------------------------------------
Rudloff commented 10 years ago

Ah pardon, j'étais en Java 6, avec la version 7 ça fonctionne...