Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actual018thedude

Posted 27 January 2013 - 12:50 PM

package falling;
public class window {
this.setTitle("Falling");
}
if(false)
{
    this.setExtendedState(this.MAXIMIZED_BOTH)

}
else
{
    this.setSize (1024, 768)
this.setLocationRelativeTo(null)
this.setResizable(false)
}

 

Netbeans is saying that this.setTitle("Falling") expects a class,method or enum. However i thought i already specified that is was public class window in package falling. Am i forgetting something?


#2018thedude

Posted 27 January 2013 - 12:26 PM

package falling;
public class window {
this.setTitle("Falling");
}
if(false)
{
    this.setExtendedState(this.MAXIMIZED_BOTH)

}
else
{
    this.setSize (1024, 768)
this.setLocationRelativeTo(null)
this.setResizable(false)
}

 

Netbeans is saying that ""this.setTitle("Falling")"" expects a class,method or enum. However i thought i already specified that is was public class window in package falling. Am i forgetting something?


#1018thedude

Posted 27 January 2013 - 12:18 PM

package falling;
public class window {
this.setTitle("Falling");
}
if(false)
{
    this.setExtendedState(this.MAXIMIZED_BOTH)

}
else
{
    this.setSize (1024, 768)
this.setLocationRelativeTo(null)
this.setResizable(false)
}

 

Netbeans is saying that "this.setTitle("Falling") expects a class,method or enum. However i thought i already specified that is was public class window in package falling. Am i forgetting something?


PARTNERS