Search:

Type: Posts; User: Destro

Search: Search took 0.40 seconds.

  1. Replies
    2
    Views
    1,143

    Re: setCursor() Not Accepting java.awt.Cursor

    That makes sense. Thank you.

    I had no idea you could reference nested objects in such a way.
  2. Replies
    2
    Views
    1,143

    setCursor() Not Accepting java.awt.Cursor

    I'm confounded by an error I'm getting when I try to use the setCursor() method from within a JPanel.


    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.Cursor;

    public class...
  3. Replies
    2
    Views
    1,725

    [SOLVED] Re: ArrayList.get() Returning "Incompatible Type"

    Solved my problem perfectly, thank you. Only glanced at generics up until now, and didn't know they applied to a situation like this. I assumed that the type didn't matter since the compiler had no...
  4. Replies
    2
    Views
    1,725

    [SOLVED] ArrayList.get() Returning "Incompatible Type"

    I'm trying to create a basic class that stores an array of Objects and returns them. I do not have a way of knowing how many objects I will need to store, so I am using an ArrayList instead of a...
  5. Replies
    5
    Views
    1,123

    Re: JButton ImageIcon Composed of Multiple Images

    Simply put, because I had no idea what the interaction between them would be, or that they even could interact. Java is still a giant amalgam of unknown interactions to me, and sometimes it feels...
  6. Replies
    5
    Views
    1,123

    Re: JButton ImageIcon Composed of Multiple Images

    I haven't been programming long, but I know exactly what you're getting at. I also completely understand that it may have sounded like I was asking to be spoon-fed. I suppose a better way I could...
  7. Replies
    5
    Views
    1,123

    JButton ImageIcon Composed of Multiple Images

    I have a grid serving as the playing field for a simple Tower Defense game (it's not necessary to know the game genre, but it might help). I need each individual grid location to be a clickable...
  8. Replies
    1
    Views
    535

    Initializing an Array of Objects

    NOTE: This is more of a post asking for a little clarification, rather than one asking for help.

    Java does not seem to actually create any objects when you define an array specifically of objects,...
  9. Replies
    7
    Views
    2,550

    Re: Drawing to a JFrame From Other Classes

    Alright then, would it be appropriate to compare this to passing a copy of a pointer to an object (not an actual pointer, but the same idea), as in some other languages? Wouldn't that basically mean...
  10. Replies
    7
    Views
    2,550

    Re: Drawing to a JFrame From Other Classes

    Thanks, both of you. It seems that arguments in java are by default passed By Reference (the actual object) rather than By Value (A copy of the object). I've been subliminally trained to always think...
  11. Replies
    7
    Views
    2,550

    Drawing to a JFrame From Other Classes

    I'm attempting to port over a very simple game I've written in another language as my very first Java project. However, I'm a bit unsure as to how I should be drawing the images I've loaded from...
  12. Self-Taught Programmer Seeking Soulmate (language) [LONG STORY]

    I haven't been programming for very long, but I've been interested in learning to do it for quite a long time, since I was quite small. I'm now 19 and just barely starting down the path of getting a...
Results 1 to 12 of 12