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: Fri Apr 19 16:59:10 GMT 2024

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

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

Back to the top