Question Component Listener on Runescape window?

Discussion in 'Developer Support' started by JJordan2, Aug 26, 2016.

  1. JJordan2

    Joined:
    Aug 19, 2016
    Messages:
    10
    Likes Received:
    2
    Maybe I'm missing something in the API, but the best I could do so far is to write my own and use Screen#getLocation etc. to build resize and moving events, it seems really hacky to me so is there a way to add a ComponentListener to the runescape window?
     
  2. Party

    Party The Favourite

    Joined:
    Oct 12, 2015
    Messages:
    2,731
    Likes Received:
    1,204
    Could you provide some context? That would make it considerably more easy to respond to this question.
     
  3. JJordan2

    Joined:
    Aug 19, 2016
    Messages:
    10
    Likes Received:
    2
    Well with a ComponentListener I want to be able to get WindowMoved, WindowResized, WindowShown, and WindowHidden events, I thought that was self explanatory and that context was irreverent but mb. I want to have a JDialog follow the runescape window.
     

Share This Page

Loading...