User Profile

Collapse

Profile Sidebar

Collapse
araujo2nd
araujo2nd
Last Activity: Feb 27 '08, 06:58 PM
Joined: Oct 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • araujo2nd
    replied to Connect GUI to database
    in Java
    How would i go about creating the class??

    Do i need seperate classes to view the database, edit the database etc
    See more | Go to post

    Leave a comment:


  • araujo2nd
    started a topic Connect GUI to database
    in Java

    Connect GUI to database

    I am creating a library system at the moment using netbeans, i have used the GUI builder to create my main screen, which basically has menu button (file, members, books, loan, help)

    I have managed to get the menu items (for example under members it says "add a new member" and i have managed to get it so that when i click it, it takes me to the AddMember GUI i created in the gui builder).

    Im really struggling...
    See more | Go to post

  • araujo2nd
    replied to Help with a Hangman program
    in Java
    ok well sir i just got a code for many different classes. I have saved them as txt files and was wondering if u could pls help me add them all into a java application. It is a hangman appet but the last class called HangmanAppletIm pl has a thing at the bottom showing how to change it into application, pls help me..i was paying attention its just that u do not understand how urgent this is, i did not have time to start the program from scratch, i...
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    the thing is that im not have problems, i just cant get the proigram to do wat i would like it to do, im not advanced enough. Since its in netbeans i have 2 programs in the project, the only way some1 could help me is if i send u the project file and u open in in netbeans then edit that for me. i would very much appreciate it...
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    oka i have worked on it a bit, could i pls send some1 my project so that they can edit it and pls help me, when i click new game i would like it o reset everything, when i click ok i would like the text box called output to be filled:( pls help!! ill do anything, im so desperate im willing to pay a programmer to come help me
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    the error i get is " Hangman.java:11 5: cannot find symbol
    symbol : variable ConsoleInput
    location: class Hangman
    String s = ConsoleInput.re adString(); "

    I tried the code u gave me and i got "Hangman.java:1 15: cannot find symbol
    symbol : variable stdin
    location: class Hangman
    String s = stdin.readline( ); "
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    okay i have a plan, the program which my teacher helped me with (the first 1). just gets 1 error when compiled, its in the line: "String s = ConsoleInput.re adString();"

    Pls could u tell me how i could fix that error, once i have fixed that i promise that i will be willing to learn how to improve the program so that it does exactly what i would like it to. its already 9:37pm here and im willing to stay up till 11 tonight
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    huh??
    ok im confused:(, i cant even get the first part right, how the heck am i gonna get the program running by monday... im really bad at java so please forgive me. Do you think the other program i did would be easier because this 1 does seem very sophisticated and im not sure im at the level to do such sophisticated programs at the moment.
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    ok i think i fixed it up

    the beginning code is now

    [CODE=javascript]package hangman;
    package hangman;

    import java.awt.*;
    import java.awt.event. *;
    import javax.swing.JFr ame;


    public class Main extends Frame implements ActionListener, ItemListener
    {

    public static void main(String[] args) {
    JFrame f = new JFrame();...
    See more | Go to post
    Last edited by pbmods; Oct 13 '07, 02:40 PM. Reason: Added CODE tags.

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    any, whichever 1 i could do quicker i suppose
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    My java code is:



    [CODE=java] public class Hangman
    {
    /**
    * construct a Hangman game
    */

    public Hangman()
    {
    myMisses = 0;
    myWordIndex = 0;
    myLettersUsed = new boolean[Character.MAX_V ALUE];
    }

    /**
    * clear all variables to beginning-of-game state
    * word shown user will be all blanks, all...
    See more | Go to post
    Last edited by r035198x; Oct 10 '07, 05:37 PM. Reason: added code tags

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    Sir pls can u just help me from where i am, there is still a lot to do, i rele do not have time and have exams soon:(, i just rele want to get this off my chest, i managed to get it to finally run the applet (needed a main method), but now pls could u just help me in getting a high scores table which stores user name and number of tries, and also the reset button does not work and i have tried everything to fix it...i also have no idea how to get...
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    So i take it that u dont want to help me? My friend did not code it, he helped me do the coding. But now that he left i have no help which is why i came here. Anyway thanks
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    i have decided to go with the applet above, most of it was done by me in any case, i have to continue with it because its so close to done, and i rele do not have time to start from nothing, it has to be done by monday with the documentation which will take me hours:(

    so all help with my applet would be much appreciated, i would like to change the applet into a java application, i only use NETBEANS and DRJava
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    Okay. Will attempt it first thing tomorrow morning. How exactly should i set out the algorithm. I dont normally use algorithms as i dont really understand how to make them:(.. But once i get the random word to work ill let u know. I hope i can get that by tomorrow morning.
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    ok, i just managed to read and print all the words, im not familiar with the java.util.Rando m class so do not know how to display a random word instead of all of them
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    kewl i just did that, i stored 200 words in a text file, its called dictionary.txt
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    ok will do, could u pls tell me what was wrong with the other program tho...

    ok how exactly should i start it? should i write down exactly what to do etc (im not sure exactly what ill need thats the problem), i no ill use an array to store the words etc
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    sorry wat are code tags?? im still new here

    i do want to do it myself and i know if i do im definately not going to be finished by next monday:(. It is a really important piece and if i start now ill neva finish, i just dont have the experience yet
    See more | Go to post

    Leave a comment:


  • araujo2nd
    replied to Help with a Hangman program
    in Java
    yes i have, previously a good friend of mine helped me code this program but he has left an im stuck with the program that builds but will not compile. it says no class found, he is really good with java so i dont know how he could have made that error.

    the code is (netbeans):

    [CODE=java]package hangman;

    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    import java.lang.*;...
    See more | Go to post
    Last edited by Ganon11; Oct 12 '07, 02:55 PM. Reason: Please use the [CODE] tags provided.

    Leave a comment:

No activity results to display
Show More
Working...