Search:

Type: Posts; User: njabulo ngcobo

Page 1 of 2 1 2

Search: Search took 0.18 seconds.

  1. Replies
    4
    Views
    1,352

    Re: Disablng jBottons

    ive fixed that one last question

    JOptionPane.showInputDialog(" welcome");

    this statement it displays welcome to the user ryt, now it also allows user to input ,idont want that ,i want it to...
  2. Replies
    4
    Views
    1,352

    Disablng jBottons

    myButton.setEnabled(false);



    will this line disable a button from bieng played twice in tic tac toe game
  3. Re: gui not linking with main project/ class

    #now i am confused was i suppose to modify the code in the gui builder source code
  4. Re: gui not linking with main project/ class

    case "5":
    ticTGui.setbutton5Text( "X" );
    ticTGui.setbutton5Enabled( false );

    right there "cannot fing symbol"
  5. Re: gui not linking with main project/ class

    oh yes with regards to the moves bieng made with a single method rather than having nearly duplicate logic for the user and the computer,thats what the assignment want but i thought it would confuse...
  6. Replies
    3
    Views
    1,102

    Re: cannot find symbol

    man TicTGui is not declared & i code yami le yang casula
  7. Re: gui not linking with main project/ class

    got it
  8. Re: gui not linking with main project/ class

    yes i want to know "how to add that logic or include it in the GUI?"
  9. Re: gui not linking with main project/ class

    here

    /*
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    */
    package tict;

    /**
    *
  10. gui not linking with main project/ class

    hello guys im working on a tic tac toe game wherei am Creating a game in which the user is presented with a three by-
    three gui containing the digits 1 through 9. When the user chooses a position...
  11. tic tac toe gui programm

    so i have to code a tic toe game as follows (as shown in screenshot) using netbeans help me im lost
  12. Re: nedd help using netBeans to do my assignment

    here is a screen shot of this assignment.....2270
  13. Re: nedd help using netBeans to do my assignment

    my problem is generating numbers randomly and designing GUI
  14. Re: nedd help using netBeans to do my assignment

    this.....

    class TicTacToe
    {
    public static void main(String [] args)
    {
    //System.out.println("Welcome! Tic-Tac-Toe is a two player game.");
    //System.out.println("Enter player one's name:...
  15. nedd help using netBeans to do my assignment

    Create a Tic Tac Toe game. In this game, two players alternate placing Xs and Os
    into a grid until one player has three matching symbols in a row, either horizontally,
    vertically, or diagonally....
  16. Replies
    2
    Views
    886

    need help with arrays

    hello guys please help

    /*1.1 Write a class to do the following:
    a. Declare an array called arr1 to contain 10 cells of type integer.
    b. Write a method to input 10 numbers into the array...
  17. Replies
    8
    Views
    1,299

    Re: unknown error

    this is what i tryed

    import java.util.*;
    public class Marks
    {
    public double findHi()
    {
    int Marks=0;
  18. Replies
    8
    Views
    1,299

    Re: unknown error

    is it possible to find the highest number using for loop ( looking AT number 9a)


    9. Write a class called Marks to do the following:
    a. Write a method called findHi to input 10 marks. Find and...
  19. Replies
    8
    Views
    1,299

    Re: unknown error

    now I am confussed

    --- Update ---

    can you tell me what axactlly do I need to change ,just a clue
  20. Replies
    8
    Views
    1,299

    unknown error

    //7. Write a class called RandomNumbers to do the following:

    //a. Write a method called generate to randomly generate a 1000 numbers in the range [50..100]. Find and return the sum of these...
  21. Replies
    14
    Views
    1,340

    Re: DO WHILE LOOPING

    axactlly CLI please code it for me
  22. Replies
    14
    Views
    1,340

    Re: DO WHILE LOOPING

    UNFORTUNATELLY I do not have it on my laptop but its the test drive that I am confused with
    this is my test driver

    public class Numbers
    {
    public static void....
    {
    //...
  23. Replies
    14
    Views
    1,340

    Re: DO WHILE LOOPING

    it has to be Graphical User Interface and must compile on J GRASP /J CREATOR OR NETBEANS
  24. Replies
    14
    Views
    1,340

    Re: DO WHILE LOOPING

    well I have coded and compiled this application and its runs the problem is test driver I just do not know how to create a menu (the last part in the question)
  25. Replies
    14
    Views
    1,340

    Re: DO WHILE LOOPING

    PLEASE HELP ME THEN
Results 1 to 25 of 27
Page 1 of 2 1 2