Search:

Type: Posts; User: Hawwi

Search: Search took 0.24 seconds.

  1. Replies
    9
    Views
    150

    Re: JButtons Disappearing

    The images are 32x32. Even when i take out the 3 visible buttons (button1, button2, button3), they still don't show up.
  2. Replies
    9
    Views
    150

    Re: JButtons Disappearing

    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...
  3. Replies
    9
    Views
    150

    Re: JButtons Disappearing

    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
  4. Replies
    9
    Views
    150

    Re: JButtons Disappearing

    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...
  5. Thread: 2D JButton Array

    by Hawwi
    Replies
    6
    Views
    152

    Re: 2D JButton Array

    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...
  6. Replies
    9
    Views
    150

    JButtons Disappearing

    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...
  7. Thread: 2D JButton Array

    by Hawwi
    Replies
    6
    Views
    152

    Re: 2D JButton Array

    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...
  8. Thread: 2D JButton Array

    by Hawwi
    Replies
    6
    Views
    152

    2D JButton Array

    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...
  9. Re: Java 2 & Java 6 Books - What's the difference?

    Thank you very much for all your help :)
  10. Re: Java 2 & Java 6 Books - What's the difference?

    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...
  11. Re: Java 2 & Java 6 Books - What's the difference?

    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...
  12. Java 2 & Java 6 Books - What's the difference?

    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...
  13. Replies
    1
    Views
    338

    Beginner Java Books & College

    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...
Results 1 to 13 of 13