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
Type: Posts; User: cute
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
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
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...
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.
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);...
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...
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...
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...