View Single Post
  #8  
Old 06-05-2014, 03:30 PM
sevendeuceoff sevendeuceoff is offline
Large Rat


Join Date: May 2014
Posts: 6
Default

Quote:
Originally Posted by tristantio [You must be logged in to view images. Log in or Register.]
Code:
  where E is a type-variable:
    E extends Object declared in class JComboBox
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to DefaultComboBoxModel(E[]) as a member of the raw type DefaultComboBoxModel
                                EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));
                                                                     ^
  where E is a type-variable:
    E extends Object declared in class DefaultComboBoxModel
src/eqlogtools/ClassHandler.java:371: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
                                EQLogToolsGUI.comboGroup_14.setModel(new DefaultComboBoxModel(SpellNames.spellNamesDruid[13]));

  where E is a type-variable:
    E extends Object declared in class JComboBox
Note: Some input files additionally use unchecked or unsafe operations.
100 warnings
Won't compile for me, how are you compiling? With Eclipse? (This was with the javac on CLI).

Also what wrapper are you using for jar to exe? (I assume thats how you're making a native exe)
Yes with Eclipse. I used launch4j for wrapping