[nbusers] Using g.DrawRect and paint functions in Netbeans

  • From: "nagatopain17" < >
  • To:
  • Subject: [nbusers] Using g.DrawRect and paint functions in Netbeans
  • Date: Thu, 01 Nov 2012 12:55:44 -0400

hello! First, thanks to everyone for the help they have given me. Even if i 
dont understand absolutely everything you have said i get the majority of it 

ok, i tried to copy the same thing the guide had done and ive used your 
ideas, heres my code:

 * To change this template, choose Tools | Templates
 * and open the template in the editor.
package senior.project;
import java.applet.*;
import java.awt.*;
 * @author Talon
public class SeniorProject {

     * @param args the command line arguments
    public static void main(String[] args) {
    public void paint(Graphics g); "ILLEGAL START OF EXPRESSION. MISSING 
    g.drawString("Hello World!", 50, 25); "CANNOT FIND SYMBOL. SYMBOL g"

so, there is a red exclamation by each of those bolded sections stating what 
i have written in quotations.

maybe i should start over, I am trying to learn how to program a basic game ( 
its turning out to not be so basic... ) kind of like NetHack. For now all im 
trying to learn is how to make graphics appear, move the character, have the 
screen move with the character ( perhaps when they exit a room it will slide 
the screen over to the next? ) and whatnot.

Anybody have any tips? Im still using that website i mentioned above and i 
know im on the general right track, but i just feel lost as i dont have 
anyone in person to help me out.

any help is MUCH appreciated, and thanks very much for everything so far!

[nbusers] Using g.DrawRect and paint functions in Netbeans

nagatopain17 11/01/2012

[nbusers] Using g.DrawRect and paint functions in Netbeans

nagatopain17 11/02/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 25 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20150226.965aeb8). © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
Please Confirm