Post the whole block of code.
|
Here's the error.
Gui.java:712: <identifier> expected
new Xml.(findcachedir() + "Files/all_IDs/Items.xml");
^
Gui.java:715: <identifier> expected
new Xml.("Files/all_IDs/Items.xml");
^
Gui.java:723: <identifier> expected
new Xml.(findcachedir() + "Files/all_IDs/NPCs.xml");
^
Gui.java:726: <identifier> expected
new Xml.("Files/all_IDs/NPCs.xml");
^
Gui.java:734: <identifier> expected
new Xml.(findcachedir() + "Files/all_IDs/NewItems.xml");
^
Gui.java:737: <identifier> expected
new Xml.("/Files//all_IDs/NewItems.xml");
^
Gui.java:745: <identifier> expected
new Xml.(findcachedir() + "Files/all_IDs/Objects.xml");
^
Gui.java:748: <identifier> expected
new Xml.("Files/all_IDs/Objects.xml");
^
K here's the gui.
import java.awt.BorderLayout; - Gui - BkWnHxUP - Pastebin.com
Gui.java:236: anonymous class implements interface; cannot have arguments
localJFileChooser1.addActionListener(new ActionListener(localJFileChoos
, localBufferedImage2, (JDialog)localObject)
^
Gui.java:243: cannot find symbol
symbol: variable val$fileChooser
File localFile = this.val$fileChooser.getSelectedFile();
^
Gui.java:254: cannot find symbol
symbol: variable val$si
ImageIO.write(this.val$si, "png", localFile);
^
Gui.java:260: cannot find symbol
symbol: variable val$fileDialog
this.val$fileDialog.dispose();
^
Gui.java:264: cannot find symbol
symbol: variable val$fileDialog
this.val$fileDialog.dispose();
^
Gui.java:433: method115(byte) in client cannot be applied to (int)
method115(8);
^
Gui.java:439: method138(byte) in client cannot be applied to (int)
method138(77);
^
Gui.java:679: method115(byte) in client cannot be applied to (int)
method115(8);
^
Gui.java:684: method138(byte) in client cannot be applied to (int)
method138(77);
^
Gui.java:712: cannot find symbol
symbol : class Xml
location: class Gui
new Xml(findcachedir() + "Files/all_IDs/Items.xml");
^
Gui.java:715: cannot find symbol
symbol : class Xml
location: class Gui
new Xml("Files/all_IDs/Items.xml");
^
Gui.java:723: cannot find symbol
symbol : class Xml
location: class Gui
new Xml(findcachedir() + "Files/all_IDs/NPCs.xml");
^
Gui.java:726: cannot find symbol
symbol : class Xml
location: class Gui
new Xml("Files/all_IDs/NPCs.xml");
^
Gui.java:734: cannot find symbol
symbol : class Xml
location: class Gui
new Xml(findcachedir() + "Files/all_IDs/NewItems.xml");
^
Gui.java:737: cannot find symbol
symbol : class Xml
location: class Gui
new Xml("/Files//all_IDs/NewItems.xml");
^
Gui.java:745: cannot find symbol
symbol : class Xml
location: class Gui
new Xml(findcachedir() + "Files/all_IDs/Objects.xml");
^
Gui.java:748: cannot find symbol
symbol : class Xml
location: class Gui
new Xml("Files/all_IDs/Objects.xml");
^
That's what the error looks like now.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |