Spout 'WidgetAnchor '

Discussion in 'Plugin Development' started by grichecth, Nov 16, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    grichecth

    Hey All,

    I'm new to java as well as bukkit & spout so please excuse my lack of knowledge of what I am doing.

    I was following the example on the wiki about adding a label & then positioning it. I decided to try it with a button rather than label & I have:


    In Eclipse, 'WidgetAnchor' is giving me the red squiggly but gives no options to import anything. How exactly does one go about this? I've been looking on the javadocs as well as the wiki & searching google for a while. If someone can help me out, it'd be very much appreciated. I imagine this is an easy one for you veterans.


    Thanks,
    Grich

    Ignore this. Solution was that Eclipse for Mac isn't the same as the PC version. Soon as I launched it at home on my PC it knew to import org.getspout.spoutapi.gui.WidgetAnchor.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
Thread Status:
Not open for further replies.

Share This Page