Java assignment
$10-30 USD
Pagado a la entrega
I want to this assignment to be developed within 12 hours.
Contact me for full details.
Sample from Part 1 of the project:
1.1- The constructor for GraphicalGarden is where the user interface is put together: GraphicalGarden has-a JFrame called gameFrame that in turn contains a panel (called gardenPanel) of JButtons organized in a 2-d grid (we are not adding the buttons directly to the frame because in part 2 we will be adding other components to our GUI, and having the buttons inside a panel makes layout decisions simpler). Upon creation, each button should be added to the gardenPanel as well as to grid, a 2d array of JButtons that we can access to change the text of the buttons when we need to. The text of the buttons will indeed display the content of each corresponding cell in the garden, and will be updated using the overridden print(), which we will describe below. Finally, set a reasonable size for the frame, and make it visible. 1.2- Override the print() method. This is where the text of each button is set, according to the content of the garden at that moment. In fact, print() is structured very much like the toString() method of class Garden: iterate through the garden, check if the given cell has a plant, a zombie or a pea, and set the text of the button accordingly. You can use the same conventions as for the toString() method if you wish: “S” for the sunflower, etc. You can also try to use graphical icons instead of text (investigate the Java library of class JButton!) if you wish to make your interface more appealing!
At this point you can already play and test the game (in main(), instantiate a GraphicalGarden and call play()): the input is still done via console input, but, if everything is working, the print() method should now refresh the texts of the buttons in the frame. You should have something that looks like the frame below:....
For more details contact me.
Thanks.
Nº del proyecto: #5770789
Sobre el proyecto
19 freelancers están ofertando un promedio de $30 por este trabajo
Hi, I am Java expert and can surely help you here with this project, Please communicate so we can discuss further. Thank you
Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !Ready, sir !
Hi there, I would like to work on your project. For my delivered work and commitment,you can have a view of my portfolio and employer reviews. Please let me know for further discussion
Hello. I represent a group of freelnacer, who have a great experience in c/c++/c# and Java. We provide a quality work. Please, check my profile to be sure of this. Don't lose your money and time and cocntact me fo Más
Hi, Can you send me the full description of this project so I can better estimate the time and the price. Thanks, Howie
warm greetings.. I'm an computer science student. Have done similar assignments for my grades. can solve this for you.. regards
Thats like a few hours work for me. I have a lots of experience in JAVA GUI.I would be the best man to complete this task.
Hi my name is David, I am a java developer, I can do the project. Hire me so I can start working immediately. Thanks for the chance.
Helli i am java expert i need reviews so i can do at very low price .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ..