Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » i dont know how to fix this(?)
icon8.gif  i dont know how to fix this [message #1404796] Tue, 05 August 2014 19:55 Go to next message
monkey shadow1 is currently offline monkey shadow1Friend
Messages: 1
Registered: August 2014
Junior Member
it is a problem that ii dont know how to fix
here is the problem

it is this line : public static Item CrystalPickaxe
and it occurs here : setUnlocalizedName(CrystalPickaxe)
the error is this :
Multiple markers at this line
- The method setUnlocalizedName(String) in the type Item is not applicable for the arguments (Item)
- Cannot reference a field before it is defined

please help
Re: i dont know how to fix this [message #1404816 is a reply to message #1404796] Tue, 05 August 2014 23:50 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 08/05/2014 02:01 PM, monkey shadow1 wrote:
> it is a problem that ii dont know how to fix
> here is the problem
>
> it is this line : public static Item CrystalPickaxe
> and it occurs here : setUnlocalizedName(CrystalPickaxe)
> the error is this :
> Multiple markers at this line
> - The method setUnlocalizedName(String) in the type Item is not
> applicable for the arguments (Item)
> - Cannot reference a field before it is defined

This forum isn't for Java questions. Please try javaranch.com,
jguru.com, stackoverflow.com, etc.
Previous Topic:Control in toolbar not customizable in perspective
Next Topic:Ant XML Customized Folder Name
Goto Forum:
  


Current Time: Mon Oct 21 10:50:22 GMT 2019

Powered by FUDForum. Page generated in 0.03802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top