Search:

Type: Posts; User: cute

Search: Search took 0.09 seconds.

  1. Replies
    11
    Views
    1,337

    Re: Liitle help with Jmenu

    hmm i don't have menu.. that's what i am trying to make.. i show you the code too... how it is and what i want
  2. Replies
    11
    Views
    1,337

    Re: Liitle help with Jmenu

    I know that my friend but I am not too familier with GUI that's why I am asking for help... Hard for me to figure out which component is good for my code
  3. Replies
    11
    Views
    1,337

    Re: Liitle help with Jmenu

    let's see if I can make it more clear. so the following code gives the snake rectangular shape.

    g.drawRect(x+1, y+1, size-2, size-2);

    what I want is make some kind of option for user to choose...
  4. Replies
    11
    Views
    1,337

    Re: Liitle help with Jmenu

    so on this code.. its not possible to do anything to give the user permission.. all the menu items that i read ( it's hard to implement those in this code.
  5. Replies
    11
    Views
    1,337

    Re: Liitle help with Jmenu

    sure...
    the fill method that i have is


    public void fill(Graphics g) {
    System.out.println("press 1 for oval:");
    int l = 0;
    switch(l){
    case 1: g.drawOval(x+1, y+1, size-2, size-2);...
  6. Replies
    11
    Views
    1,337

    Liitle help with Jmenu

    Hi friends... I am haing some problem making jmenu for the following code. The public void fill method is what i want to be in jMenu
    the user will choose what kind of shape he wants.. rect or...
Results 1 to 6 of 6