Search:

Type: Posts; User: jnewcomer

Search: Search took 0.10 seconds.

  1. Replies
    5
    Views
    1,739

    Re: Confused about JPanel.getY()

    I naively expected (pane.getY() == 0) which would imply that pane and the JFrame have the same y-coordinate system. If pane.getY() == 0, you would share my confusion, right? If so, you presumably...
  2. Replies
    5
    Views
    1,739

    Re: Confused about JPanel.getY()

    Edited to highlight the code as you requested. Thanks for pointing that out; I didn't know about it.

    Will check into the SwingUtilities as you suggest, but I'm still curious to know the semantics...
  3. Replies
    5
    Views
    1,739

    Confused about JPanel.getY()

    I am a complete newcomer to Java, so apologies for this basic question. I have a JPanel sitting inside of a JFrame. I call the panel's getY() method, and expect the result to give me the...
Results 1 to 3 of 3