• Post Reply Bookmark Topic Watch Topic
  • New Topic

Only 4 more days  RSS feed

 
jake bellhorn
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you guys have given me great help through out these months, but i dont understand any of it. ive only got 4 more day to complete a full java project please i need your help. i noe nothing about java except how to run a program. i want to make a program that has four buttons and it all four of thoses buttons opens up a new text field for each one displaying stats PLEASE I NEED YOUR HELP
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Getting help though a forum is not a good bet. You need to find a tutor who can sit beside you and point out your errors as you make them. Stick up some signs in the computer lab advertising for a tutor.
 
jake bellhorn
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i would but the teacher said we cant get any help other then the internet i have a general understanding of java, but the more complicated things i dont get like where certain parts are supposed to go into a program
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by jake bellhorn:
...the more complicated things i dont get like where certain parts are supposed to go into a program

It might seem like this is a complicated detail, but it's actually part of the basic foundation. Consider what you're doing in a Java program:
  • You define classes as "templates" for objects. Basically, a class defines an object's "state" (its variables) and "behavior" (its methods).
  • You create new instances (objects) based on the classes.
  • Then within some method (because that's where you "do" things), you call other methods on these instances. Those methods, in turn, might manipulate the variables.
  • So I think you need to take a step back and first describe what your classes should look like -- what you want them to "have" and "do" (variables and methods). Then put it together by creating new instances of these classes and making them "do" things by calling the appropriate methods.
    [ June 14, 2006: Message edited by: marc weber ]
     
    Jeff Albertson
    Ranch Hand
    Posts: 1780
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Originally posted by jake bellhorn:
    i would but the teacher said we cant get any help other then the internet


    Are you in pre-law? TBecause this seems like hairsplitting. Perhaps your teacher meant that you could use resources from the internet like javadocs, FAQs and tutorials. On the other hand, what is the difference between someone helping you debug in person versus via this forum, apart from the fact that it's 100 times more tedious to do it the latter way...
     
    Campbell Ritchie
    Marshal
    Posts: 56599
    172
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Agree with Jeff Albertson.

    You are, I take it, familiar with the Java tutorial? You ought to be looking into it all the time. This part of it, about GUIs, ought to contain enough information for you to get your assignment working.

    And good luck with it.

    CR
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!