The images are 32x32. Even when i take out the 3 visible buttons (button1, button2, button3), they still don't show up.
Type: Posts; User: Hawwi
The images are 32x32. Even when i take out the 3 visible buttons (button1, button2, button3), they still don't show up.
I probably should have said this earlier, but when i first did this on my pc the first image worked and displayed. The others had the same path but didn't show up, that's the problem. It's almost...
I did it and double checked the file path and i am still getting this. It's the exact same on mac and pc!
3175
The image files are in the correct place and the buttons that aren't showing are the ones with images.
package test2;
import java.awt.BorderLayout;
import java.awt.Color;
import...
One "Tilesheet" panel shows the available tiles to place on the other "Map" panel. The "Map" panel shows the images in a grid, say 48x48. When a tile is placed on a position, that position in the...
I'm using a GridBagLayout to align these buttons to the left(WEST) side of the screen. Although i have come across a problem where only one button shows up, the grassTile button. I've tried different...
I'm asking whether the button approach would work, and if not, what is a better way exactly?
With your question, well one panel pretty much handles what tile will be placed and the other panel is...
Okay, so basically i am creating a Level Editor and i have two seperate JPanels on the JFrame. I want to be able to select a tile which is also a button from one JPanel which will have its own ID and...
Thank you very much for all your help :)
No, i haven't looked at the Deitel's books yet, i'll take a look at them, thank you. Also just a question, do you think that getting the 21 day book, reading/completing it and doing a semester of...
Yeah, i understand that you would always get the later version, but i would also like to know the differences between the two as i am going into a Computer Science course, and i thought it would be...
Hey guys, so i'm going to buy the Sams Teach Yourself Java in 21 Days as i believe Sams is the best and i noticed there are a couple of different books like Java 2 and Java 6 and i just really wanted...
Hey guys, i'm heading into college next year/a few months and well i got into a Computer Science 3 class, in that class the language they teach is Java. I have done C++ programming in the past so i...