Search:

Type: Posts; User: cute

Search: Search took 0.74 seconds.

  1. Replies
    11
    Views
    526

    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
    526

    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
    526

    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
    526

    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
    526

    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
    526

    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...
  7. Replies
    2
    Views
    743

    Re: changing particular string in text file

    I tried that b4 writing to memory but it didnt work for me.. what i want is not to change the file. let say i have this input.txt file i want the changes to occur in that particular file not in...
  8. Replies
    2
    Views
    743

    changing particular string in text file

    I have a text file with this format:

    aaa:bbb:ccc
    ddd:eee:fff
    ggg:hhh:iii

    so now i want to search for fff and replace it with kkk but in same file. i know how to do by pasting stuff in other...
Results 1 to 8 of 8